Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Brain Cramp on trapping variable value change in debug
Message
From
03/06/2003 09:54:53
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
 
To
03/06/2003 09:15:52
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00795611
Message ID:
00795640
Views:
15
>Ok, please someone who is thinking more clearly than I this morning refresh my memory on how I can trap for when the value in a variable map_type(1) changes in a program? My variable's value is changing unexpectably and I need to determine when it occurs in the app. Can this be done using the debugger in VFP8?

Tracy,

Put your variable in the Watch window and doubleclick in the margin to set a breakpoint on it. Your code will stop when the value changes. If you're looking for a certian value you can use MyVar = "Something" as the expression and your code will stop when that changes from .F. to .T. or back.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform