All Manuals > LispWorks® User Guide and Reference Manual > 42 The MP Package

map-process-backtrace Function

Summary

Produces a backtrace for a process.

Package

mp

Signature

map-process-backtrace process function

Arguments
process
A process.
function
A function taking one argument.
Description

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.

Examples
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
See also

map-all-processes-backtrace


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:51