Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Clearing the Debug Output window
Message
From
01/12/2015 14:30:27
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01628155
Message ID:
01628186
Views:
41
>>>>Is there a way to clear the Debug Output window programmatically? I like to clear it at the beginning of the application.
>>>>
>>>>I tried CLEAR DEBUG, but resets the entire debug window to default settings.
>>>
>>>You can activate the window with ACTIVATE WINDOW "Debug Output". Maybe use a keyboard macro from there to clear it?
>>>
>>>Tamar
>>
>>Thanks for the suggestion, but I could not get it to work with any consistency. I find it odd that there is no command like CLEAR WINDOW "Debug Output".
>
>Something like that:
>
>ACTIVATE WINDOW "Debug Output"
>DEBUGOUT 'Test1'
>DEBUGOUT 'Test2'
>WAIT WINDOW "Press any key to clear DEBUGOUT"
>ACTIVATE WINDOW "Debug Output"
>KEYBOARD '{ALT+W}E' 
>
>Not tested well!

Yes, but sometimes it hangs, other times it fails to clear (mostly).
Also, the keyboard line is "{alt+W}O". The hotkey "{Alt+2}" does not work at all.
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform