Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2002 13:41:12 -0800 (PST)
From:      Doug Ambrisko <ambrisko@ambrisko.com>
To:        Josef Karthauser <joe@tao.org.uk>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Kernel debugger and X11.
Message-ID:  <200203192141.g2JLfCC14788@ambrisko.com>
In-Reply-To: <20020319213623.GA7786@genius.tao.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Josef Karthauser writes:
| > > Does anyone have any working practices around this problem?  I'm sure
| > > that I'm not the only one of us with it.
| > 
| > I would recommend just enabling crash dumps; then it doesn't matter if
| > you're in X when the machine panics, and you can get a stack trace and look
| > at things once the machine reboots.
| > 
| I suppose.  Is it possible to switch the debugger off via a sysctl,
| without compiling it out?

You could switch it to ddb_unattended via:
	sysctl -w debug.debugger_on_panic=0
when you start and flip when you exit.  Then just leave everything
compiled in your kernel.

Doug A.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203192141.g2JLfCC14788>