Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When debugging, how do you view long strings?
Message
De
23/02/2005 20:03:31
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
23/02/2005 17:33:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Divers
Thread ID:
00989643
Message ID:
00989918
Vues:
23
>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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform