brucexs wrote:

> This is simple to add and I will do it.
Thanks!
When the user presses the Pause button any win.debug / debug should not restore 
the debug window, 
correct?

> But it does not allow you to 
> leave win.debug permanently in scripts:  you would still have to 
> remove the win.debug from production scripts which were running while 
> you were debugging another, unrelated script...
> 

You're right. That's not ideal, but I could live with that. OTOH, here's an 
additional proposal that could 
solve that point as well.

win.debugallow("PREFIX",POS) means

when win.debugpaused()==1
the debug window will *still* print any string for which 
index(string,"PREFIX")==POS

win.debugallow("") turns off *all* debug output when win.debugpaused()==1

typical usage that I envision:

; debug script
win.debugpaused(0)
win.debugallow(scriptname,1+length(date++time))
...
win.debug(date ++ time ++scriptname, "...")  ;; no need to uncomment

; production script (the same script)
/* uncomment when debugging
win.debugpaused(0)
win.debugallow(scriptname,1+length(date++time))
*/
...
win.debug(date ++ time ++scriptname, "...")  ;; no need to uncomment

what do you think of this?






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to