Subject: Re: Getting into the debugger
To: Dr. Bill Studenmund <wrstuden@loki.stanford.edu>
From: None <drochner@zel459.zel.kfa-juelich.de>
List: tech-kern
Date: 01/16/1999 13:48:10
wrstuden@loki.stanford.edu said:
> Now all I need is a way to get into the debugger to start the stack
> trace. Does anyone know how to do this? Basically I need to be able to
> latch onto the current stack frame so trace can go look at it, and to
> set up whatever else db_trace_cmd will want. 

What I'd probably do here is to use the standard breakpoint
mechanism and define a global variable which is checked
at the debugger entry point. If set, your stacktrace code could
run, otherwise the standard prompt.

best regards
Matthias