[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Backtrace.
Date: Mon, 5 Jun 89 22:58:55 EDT
From: barmar@Think.COM
Date: Mon, 5 Jun 89 15:05:06 MDT
From: snicoud@atc.boeing.com (Stephen Nicoud)
How can a process get a backtrace of its own stack?
See the section in book 2A on the Condition system and the Debugger.
It describes a multitude of functions for getting pointers to stack
frames and accessing information in them. It describes just about
everything you'd need to reimplement the debugger yourself. Look up
DBG:WITH-ERRING-FRAME in the index, and this should get you close
(unfortunately, the page numbers in Symbolics indexes are only an
approximation to reality -- hopefully this will be improved in future
manuals written with Concordia).
Concordia, like its predecessor, uses the first page of a keyword's
section as the index reference. So if a section begins on page 150 and
runs for four pages, all entries for that section will refer to page
150.
You could also look at the source to the debugger. I believe this is
in the Basic Source category.
barmar
- Follow-Ups:
- Backtrace.
- From: Richard Lamson <rsl%max-fleischer.ila-sf.dialnet.symbolics.com@RELAY.CS.NET>