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:02
 
 
To
03/06/2003 09:47:55
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00795611
Message ID:
00795638
Views:
17
Worked Perfectly! Thanks! The code I had to use was:

type('map_type')!="U" .and. LEFT(map_type(1),3)<>"NON"

THANKS!

>Hi Tracy,
>
>I am guessing the array gets passed by reference a lot and therefore just setting set a breakpoint on a map_type[1] won't work.
>
>If that's the case, build an expression like
>!Type("map_type[1]")=="U" and map_type[1]==[YourCopiedValue],
>set a breakpoint and it should fire after the call in which
>the arrayelement was changed (if the array is named differently
>in the called method/function).
>
>Repeat recursively as needed <g>.
>
>HTH
>
>thomas
.·*´¨)
.·`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