I have been wondering for a while - is there a way to intercept code / program ...? Conditionally? For example, can I specify something like: "when this variable becomes this value, break and open the debugger"? (It would be very useful, especially in long loops, when you want to debug loop execution for the value of the last loop.)
I assume this may be IDE-specific, since debugging is implemented differently in different IDEs ... I would be interested to know how to do this in any IDE, but especially in Eclipse and Visual Studio.
language-agnostic debugging conditional breakpoints
froadie
source share