Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Brain Cramp on trapping variable value change in debug
Message
De
03/06/2003 09:57:38
 
 
À
03/06/2003 09:54:53
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00795611
Message ID:
00795644
Vues:
21
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"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform