--- freem/src/sighnd.c 2025/04/15 18:39:20 1.9 +++ freem/src/sighnd.c 2025/04/30 20:03:09 1.10 @@ -1,5 +1,5 @@ /* - * $Id: sighnd.c,v 1.9 2025/04/15 18:39:20 snw Exp $ + * $Id: sighnd.c,v 1.10 2025/04/30 20:03:09 snw Exp $ * FreeM signal handlers * * @@ -24,6 +24,9 @@ * along with FreeM. If not, see . * * $Log: sighnd.c,v $ + * Revision 1.10 2025/04/30 20:03:09 snw + * Work on entryref parser + * * Revision 1.9 2025/04/15 18:39:20 snw * Remove extraneous CRLFs in logprintf calls * @@ -163,7 +166,7 @@ void onintr (void) { sig_attach (SIGINT, &onintr); /* restore handler */ - /* printf ("\r\nSIGINT codptr = '%s'\r\n", codptr); */ + /* printf ("\r\nSIGINT codptr = '%s'\r\n", codptr); */ if (first_process) { job_request_stop (pid); @@ -190,10 +193,16 @@ void onintr (void) } - if (breakon) { + + + if (breakon) { merr_raise (INRPT); inrpt_after_async = TRUE; if (forsw) sigint_in_for = TRUE; + + if (usermode == 1) { + debug_mode = TRUE; + } } else { zcc = TRUE;