Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When debugging, how do you view long strings?
Message
From
23/02/2005 20:23:05
 
 
To
23/02/2005 20:03:31
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
00989643
Message ID:
00989920
Views:
21
I like this approach; at least I understand it.

Two questions:
First, my strings usually do not have line-ends (CR-LF's). Is there some way to make the thing wrap (a la editbox)?

Second, Ctrl-W complains about "unrecognized command verb" (compiling, presumably). Can I temporarily turn this off? (I hate to ignore each time ...)

Jim


>>OK, thanks.
>>
>>>not if you are suspended while the memvar is in scope
>>>
>>>>Not having tried this yet ... would there be a problem if my string was LOCAL?
>
>Another thing I may do with longer strings is (assuming the code is waiting in the debugger with the variable in scope)
>
>strtofile(m.cvar, "tmp.prg")
>modi comm tmp
>m.cVar=filetostr("tmp.prg")
>
>The m. here is for intellisense to find my variable faster - I usually forget its name as soon as I switch from debugger to command window :). The nice thing about this is that I have the tmp.prg on disk when I exit the app, and anything I fixed there is reusable for fixing the code from which it came. Maybe a bit more typing than clipboard way, maybe not - YMMV.
Jim Nelson
Newbury Park, CA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform