Opened 5 years ago

Last modified 5 years ago

#1327 new enhancement

provide way to inhibit kernel debugger

Reported by: rme Owned by: rme
Priority: normal Milestone:
Component: other Version: trunk
Keywords: Cc: xach


Add a way to inhibit the kernel debugger. That is, instead of invoking it, just crash or exit.

It would be nice to be able to do it at runtime, in a manner similar to

Perhaps a new kernel global and a new --disable-kernel-debugger flag.

Change History (3)

comment:1 Changed 5 years ago by rme

  • Cc xach added

comment:2 Changed 5 years ago by gb

IIRC, the --batch command line argument suppressed entry to the kernel debugger (and may have had other effects)

The argument sets a C variable that is accessible from the kernel and from lisp code. also IIRC.

If none of this works as I think it does, I'd be more inclined to fix it than I am to provide another way of doing this,

comment:3 Changed 5 years ago by svspire

(setf ccl::*batch-flag* t)
(/ 3 0)

Causes CCL to quit, bypassing the main debugger. This is what the --batch command line argument does. But it does not prevent #'dbg from working -- this is what usually calls the kernel debugger.

Is this sufficient?

Note: See TracTickets for help on using tickets.