Actually, just typing DEBUG opens it. That part is easy. :)
What I'm trying to is automate running SBT through VFP. I need the debugger running because it doesn't work right if I open it after the error happens, but I want it minimized. Since I'll be issuing a DEBUG immediately before minimizing it, and since this will never be sent to customers, I think I'm safe in assuming it's open.
I've never used Foxtools, but I imagine there's docs on it so I'll go look before asking for more info...
Thanks,
Michelle
>Either SET STEP ON or ACTIVATE WINDOW DEBUG with open the debugger. To then minimize it you could use Foxtools:
lnwhandle = _WFindTitl('Visual FoxPro Debugger')
>= _WZoon(lnwhandle, 2)
Of course, you could wrap this in a small prg to test for the presence and activate if necessary.