Philip A. Viton wrote: > > Could someone explain to me --- I've never understood this -- under what > conditions re-loading a script and running it under debug (the debug > window on win32) will retain previously set stops, and when it won't? > > EG: you load a script, open debug, and set a stop on a verb. You run the > script, and maybe single-step through the verb. At some point you close > the debug window, make changes in the verb and re-load it. Open the > debug window again (Ctrl+K). Most of the time I find that the previous > stops are still active; and I'm not sure when this will/won't be the > case; and what it would take to turn them off.
Debug stops must be set and cleared explicitly. I suggest doing this in your test script, e.g. include something like: require 'debug' dbg 1 dbstops 'mystuff' NB. dbstops '' NB. to turn off any stops ... mystuff'' ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
