Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Show long string in debugger or messagebox
Message
From
30/01/2011 06:25:11
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
To
29/01/2011 19:45:19
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01497807
Message ID:
01497833
Views:
50
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform