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:57:38
 
 
To
03/06/2003 09:54:53
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00795611
Message ID:
00795644
Views:
23
Thanks Cindy, I got it working similar to this method due to the generous folks on the UT (again). That's what happens when you go to sleep at 2:00am and get up at 4:30am! Too much coding in a 24 hour period! Or is it age? :o)

>>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.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform