The
map-process-backtrace
function 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 12 > (mp:map-process-backtrace mp:*current-process* 'print)
DBG::GET-CALL-FRAME
SPECIAL::%EVAL-NOHOOK
IV:PROCESS-TOP-LEVEL
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