Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically clearing the debug output window
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00270653
Message ID:
00270965
Views:
29
>>>Dumb question du jour: Is there a way to programmatically clear the debugger output window, without issuing CLEAR DEBUG? I would like to be able to do the same thing programatically that "clear output window" does from the debugger's Window menu, but without clearing breakpoints and restoring default window sizes and positions like CLEAR DEBUG does.
>>
>>Hiya Rick,
>>
>>I've got no idea if this works, but try it and let me know.
>>
>>Yes, friends, once again it's Foxtools. Try the following after loading the library. Pardon me, of course, you've already got it loaded, don't you, Rick< g >
>>lnwhandle = _WFindTitl('Debug Output')
>>= _WClear(lnwhandle)
>>Let me know, please.
>
>I got a return value greater than 0 for the handle, and a return value of .T. for the _wclear. However, the debugout window was still cluttered. At least the breakpoints were still there.

Hiya Mark,

0 isn't a valid whandle. AFAIK, _WFindTitl() is case sensitive, and, I think the Debug Output window must be active (open) in the debugger.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform