Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Avoid 'expression could not be evaluated' in debugger
Message
From
02/07/2008 13:31:35
 
 
To
02/07/2008 12:48:17
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01328293
Message ID:
01328311
Views:
8
This message has been marked as a message which has helped to the initial question of the thread.
>This annoyed me pretty much ever since we got the watch window, and I know it's too late to complain, but maybe someone knows a workaround.
>
>In the debugger, if I set a watch on an expression, is there a way that expression going in and out of scope would NOT count as a change?

>
>For example, I'm looking at contents of a field; the field becomes "can not be evaluated" every time execution goes to default datasession (framework code is instantiated there). Having a breakpoint on that becomes unusable.

add this expression and set a breakpoint to "when true"
IIF(TYPE("aliasname.fieldname")=='U',.F.,!ADDPROPERTY(_SCREEN.catchProperty,aliasname.fieldname)
and set another breakpoint to _SCREEN.catchProperty
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform