Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Show long string in debugger or messagebox
Message
De
30/01/2011 06:25:11
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
29/01/2011 19:45:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01497807
Message ID:
01497833
Vues:
53
>>Hi,
>>
>>As I am troubleshooting an issue I have to view a very long string in either the debugger or using messagebox approach. Messagebox cuts off after some number of characters (I don't know what the limit is). And in the debugger it is also almost impossible to view this string. What else can I do?
>>
>>TIA
>
>1024 chars is the max. Either make your own messagebox (you can use a form with an editbox on it) or write the text to a file using strtofile()

I'd recommend the latter, because messagebox interferes with the program flow. When it exits, the form (if we were in one) activates - and .activate() runs code which wouldn't have been run. Well, for that matter, clicking back to the form after debugger was active will do that too.

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
Répondre
Fil
Voir

Click here to load this message in the networking platform