2009-09-21 07:43:38 UTC
Let's say I have one method handling a "double click". Somewhere in
the call stack there is a method I want to stop at when the "double
click" has been triggered. How can I do this best?
One solution is to use a global variable. When entering the double
click method I set this variable and when leaving the method I reset
it. In the method I'm interested in I'm defining a conditional break
point. The issue I don't like is that I have to manipulate the code. I
need the global variable at both locations to be known and I have to
set this variable two times.
I would like to use the visual debugger itself to define the state
Can somebody help?
Thank you in advance...