Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Suggestion: Add a 'Debugger' category
Message
From
07/08/1999 17:23:25
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00251000
Message ID:
00251161
Views:
14
>Al,
>
>>I would also like to see information on the practical use of DEBUGOUT and methods for logging event firing sequences. BTW are there any good articles and/or FAQs here on any debugging topics?
>
>I never use WAIT WINDOW anymore, I use DEBUGOUT instead.
>
>1) You can use the window to scroll through a sequence of events. The contents of the window can be copied to the clipboard so you can compare two different program runs.
>
>2) There is a little UDF over on my website to build strings out of multiple arguments. I wrote it because debugout can only output one expression at a time.
>
>3) If you want to trace methods that aren't events you can seed debugout program() lines into the methods of interest.
>
>4) ACTIVATE WINDOW "DEBUG OUTPUT" can be used in your code to open up the window prior to doing any debugout commands.
>
>5) You can document differences or what you did at any given moment by doing a debugout in the command window while you are testing.

Thanks, I'll give it a try.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform