The function
map-process-backtrace
collects a backtrace for the process specified by
process
, and the function
function
is called on each line of the backtrace in turn.
CL-USER 1 > (mp:map-process-backtrace mp:*current-process* 'print)
DBG::GET-CALL-FRAME
MP:MAP-PROCESS-BACKTRACE
SYSTEM::%INVOKE
SYSTEM::%EVAL
EVAL
SYSTEM::DO-EVALUATION
SYSTEM::%TOP-LEVEL-INTERNAL
SYSTEM::%TOP-LEVEL
SYSTEM::LISTENER-TOP-LEVEL
CAPI::CAPI-TOP-LEVEL-FUNCTION
CAPI::INTERACTIVE-PANE-TOP-LOOP
(SUBFUNCTION MP::PROCESS-SG-FUNCTION MP::INITIALIZE-PROCESS-STACK)
SYSTEM::%%FIRST-CALL-TO-STACK
NIL
LispWorks User Guide and Reference Manual - 21 Dec 2011