How to pause a thread in the debugger when the debugger detects a variable change? RRS feed

  • Question

  • Let's say you have an integer variable A in a program, and you are debugging this program. At the moment, the variable A is 0.

    When a thread runs and modifies the variable A, so the variable A is 1, I would like to have this debugger pause all thread executions, so I can inspect where the thread has modified the variable A in the code.

    How would I do this?

    Thanks in advance.

    Monday, October 5, 2015 1:15 AM


All replies