Try

13!:0 (0)

to turn off debug.  13!:0'' leaves it unchanged.  13!:17'' tells you the current debug state.

To exit you might try

2!:55''

rather than using the name, since stack errors are tested for when names are executed.

If you are in debug, the system hasn't done anything wrong yet. It want to leave the stack for you to look at.  It's a bit inelegant not to be able to execute any name at all, I admit.  If going out of debug doesn't fix it, give me an example I can reproduce the problem with.


Henry Rich

On 2/2/2019 5:12 AM, 'Mike Day' via Programming wrote:
Occasionally I get this sort of thing happening. I've (usually?) used debug
earlier in the session for tracing through a verb or three:

Today:

load 'c:/d/j807/user/myscript.ijs'
|stack error: mpart

... so I try again, hoping it disappears (!)

load 'c:/d/j807/user/myscript.ijs'

|stack error: mpart

| mpart =:3 :0

|[-35] c:\d\j807\user\partition.ijs    NB. *

|stack error


JVERSION

|stack error


...  this time I looked up the debug foreigns and tried

13!:0 ''

|stack error

... and ...

13!:1 ''

|stack error


Is there any cure apart from
"have you tried switching it (J) off and on again?" ?
to which the answer is
"yes - I know that works but it's so crude, and I'd prefer to keep
the session going and not lose the terminal output."

Not to mention:

exit''
|stack error


so needing Task Manager (if Windows) or some such to kill the J process.

Thanks,

Mike

*my various partition function, since you ask

PS: (from a new session!) - not that the version is particularly relevant - i've had
this happening for years - only thought to ask just now!

JVERSION

Engine: j807/j64/windows

Release-b: commercial/2019-01-22T18:51:16

Library: 8.07.22

Qt IDE: 1.7.9/5.9.6

Platform: Win 64

Installer: J807 install

InstallPath: c:/d/j807

Contact: www.jsoftware.com



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm


---
This email has been checked for viruses by AVG.
https://www.avg.com

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to