getting the debugger to break at the next click event

前端 未结 1 417
谎友^
谎友^ 2021-02-12 16:43

in a .net windows forms project which has 100s of forms, and all those forms has countless custom made controls with base classes involved, its very difficult for me to know whe

相关标签:
1条回答
  • 2021-02-12 17:00

    Just before you click the button in the program do this:

    Go to visual studio and pause the program. Just press the pause button. Then press F11 (Step Into).

    Now press the button in the program, and you should be taken into the event handler.

    0 讨论(0)
提交回复
热议问题