In debug mode, is there any way to break (pause execution), if so?

If I set a breakpoint somewhere in the code, it pauses when the program is about to read this line of code.

Sometimes, when the program is running, I want to pause it. I don’t know which line of code he is currently reading. Is it possible to pause execution only if a breakpoint exists?

+4
source share
1 answer

Is it possible to pause execution, if there is one, as if there is a breakpoint?

Yes, when debugging, these are your options:

  • On the Debug menu, click Break All
  • : Ctrl + Alt + Break
  • , :

    enter image description here

+6

Source: https://habr.com/ru/post/1532689/


All Articles