Why the debugger doesn't work

后端 未结 15 1216
遇见更好的自我
遇见更好的自我 2020-12-17 09:48

My debugger is not working,
I\'m putting a breakpoint, but in run, time visual studio doesn\'t stop on the breakPoint.
How to fix it?
There is n

15条回答
  •  春和景丽
    2020-12-17 10:25

    There are a couple of things that could be wrong:

    • Your source code and assembly could be out of sync - rebuild the application and try again.
    • You could be attached to the wrong process - check to see what process you are attached to.
    • There could be a logical error in your code that is causing your breakpoint to not be hit (i.e. the method you are in is not actually called, logical branching is routing control around the breakpoint, etc.)

提交回复
热议问题