Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP methods you miss
Message
From
16/05/2013 11:54:26
 
 
To
16/05/2013 11:48:36
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01574038
Message ID:
01574101
Views:
72
>>>>>>What do you set in Condition. Can you give an example?
>>>>>
>>>>>Ctrl+Alt+B to bring up the Breakpoints window.
>>>>>Locate the breakpoint.
>>>>>Right-click, Condition...
>>>>>
>>>>>In the popup dialog box, select the option "Has changed".
>>>>
>>>>But that only checks if the value *has* changed at that specific line. Not the same thing as the ability to break *when* the value changes.
>>>
>>>
>>>You have to change the break location as well I think (am not at my computer).
>>
>>But wherever you put the break that line has to execute in the course of normal execution. Only in C++ can you set a breakpoint to fire *when* a variable changes so that you can, for example, examine the stack to see what caused it.
>
>
>
>Didn't know that was a limitation of .net.
>
>Okay... Hmmm... How about creating a class with operator overrides, replacing the instance variable with the class, and breaking there?

Possible. You could achieve the same by using a property and breaking on the setter - but either implies having to change production code for testing......
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform