Skip to content

Debug & breakpoints with Visual Studio 2017

Yaroslav Kibysh edited this page Aug 12, 2019 · 4 revisions
  • Download repository and open WinCeCompatLayer solution

    image

  • Start program you want to debug, and hit yes

    image

  • In opened window choose opened solution and click OK

    image

  • Now you can configure your breakpoints if you want

    image

  • Return to the window from the 1st step and click OK to continue

  • After breaking a program, you can view anything as in usual VC++ Debug session! You can view arguments

    image

  • Or you can view returnable values. That's why code looks like below: we want to save returned value for debugging.

    image

  • Additionally you can handle Win32 errors (how?)

    image

  • Additionally, you can change code when program is paused!

    image