This is the dissect Reference Manual, version 1.0.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 05:59:29 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
dissect
A lib for introspecting the call stack and active restarts.
Yukari Hafner <shinmera@tymoon.eu>
Yukari Hafner <shinmera@tymoon.eu>
(GIT https://github.com/Shinmera/dissect.git)
zlib
1.0.0
package.lisp
(file).
toolkit.lisp
(file).
interface.lisp
(file).
backend
(module).
documentation.lisp
(file).
Modules are listed depth-first from the system components tree.
dissect/backend
interface.lisp
(file).
dissect
(system).
sbcl.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
dissect/dissect.asd
dissect/package.lisp
dissect/toolkit.lisp
dissect/interface.lisp
dissect/backend/sbcl.lisp
dissect/documentation.lisp
dissect/toolkit.lisp
package.lisp
(file).
dissect
(system).
%print-as-hopefully-in-source
(function).
chop-stack
(function).
current-thread
(function).
find-definition-in-file
(function).
newlines-until-pos
(function).
print-as-hopefully-in-source
(function).
read-source-form
(function).
read-source-form-at-line
(function).
read-toplevel-form
(function).
dissect/interface.lisp
toolkit.lisp
(file).
dissect
(system).
args
(reader method).
call
(reader method).
call
(class).
capture-environment
(function).
environment
(class).
environment-condition
(reader method).
environment-restarts
(reader method).
environment-stack
(reader method).
environment-thread
(reader method).
file
(reader method).
form
(reader method).
invoke
(generic function).
line
(reader method).
locals
(reader method).
name
(reader method).
object
(reader method).
pos
(reader method).
present
(function).
present-object
(generic function).
print-object
(method).
print-object
(method).
print-object
(method).
print-object
(method).
report
(reader method).
restart
(reader method).
restart
(class).
unavailable-argument
(class).
unknown-arguments
(class).
with-capped-stack
(macro).
interactive
(reader method).
test
(reader method).
dissect/backend/sbcl.lisp
backend
(module).
%with-truncated-stack
(macro).
conditions
(reader method).
(setf conditions)
(writer method).
debug-var-info
(function).
frame
(reader method).
(setf frame)
(writer method).
frame-locals
(function).
frame-location
(function).
info
(reader method).
(setf info)
(writer method).
make-call
(function).
make-restart
(function).
resolve-file-slots
(function).
sbcl-call
(class).
sbcl-restart
(class).
stack-capper
(function).
stack-truncator
(function).
Packages are listed by definition order.
dissect
org.tymoonnext.dissect
common-lisp
.
args
(generic reader).
call
(generic reader).
call
(class).
capture-environment
(function).
environment
(class).
environment-condition
(generic reader).
environment-restarts
(generic reader).
environment-stack
(generic reader).
environment-thread
(generic reader).
file
(generic function).
form
(generic function).
invoke
(generic function).
line
(generic function).
locals
(generic reader).
name
(generic reader).
object
(generic reader).
pos
(generic reader).
present
(function).
present-object
(generic function).
report
(generic reader).
restart
(generic reader).
restart
(class).
restarts
(function).
stack
(function).
unavailable-argument
(class).
unknown-arguments
(class).
with-capped-stack
(macro).
with-truncated-stack
(macro).
%print-as-hopefully-in-source
(function).
%with-truncated-stack
(macro).
chop-stack
(function).
conditions
(generic reader).
(setf conditions)
(generic writer).
current-thread
(function).
debug-var-info
(function).
find-definition-in-file
(function).
frame
(generic reader).
(setf frame)
(generic writer).
frame-locals
(function).
frame-location
(function).
info
(generic reader).
(setf info)
(generic writer).
interactive
(generic reader).
make-call
(function).
make-restart
(function).
newlines-until-pos
(function).
print-as-hopefully-in-source
(function).
read-source-form
(function).
read-source-form-at-line
(function).
read-toplevel-form
(function).
resolve-file-slots
(function).
sbcl-call
(class).
sbcl-restart
(class).
setdocs
(macro).
stack-capper
(function).
stack-truncator
(function).
test
(generic reader).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Calls BODY in an environment where a call to STACK will not report frames further up.
See STACK
Calls BODY in an environment where a call to STACK will not report frames further down.
See STACK
Capture the current environment into an environment object.
See ENVIRONMENT
Prints a neat representation of THING to DESTINATION.
DESTINATION can be one of the following types:
(eql NIL) — The representation is printed and returned as a string.
(eql T) — The representation is printed to *STANDARD-OUTPUT*.
STREAM — The representation is printed to the stream.
THING can be one of the following types:
RESTART — Restarts are presented as:
[NAME] REPORT
CALL — Calls are presented as:
POS (CALL ARGS..)
ENVIRONMENT — Environments are presented as a multiline description
of all the parts it references (condition, stack,
restarts, thread).
CONDITION — Conditions are presented as:
CONDITION
[Condition of type TYPE]
(EQL T) — Presents the environment at point using
CAPTURE-ENVIRONMENT.
LIST — The list can contain either restarts or calls. In both
cases the behaviour is to output a header line, followed
by the presentation of each item in the list on its own
line.
Internally the function PRESENT-OBJECT is used to perform the actual
printing.
See RESTART
See CALL
See ENVIRONMENT
See CONDITION
See CAPTURE-ENVIRONMENT
See PRESENT-OBJECT
Returns a list of arguments that were used in the frame call.
If the arguments list is not available, this may also return an instance
of UNKNOWN-ARGUMENTS. The values in the list may be instances of
UNAVAILABLE-ARGUMENT if the argument is unknown or could not be captured
for some reason.
See UNKNOWN-ARGUMENTS
See UNAVAILABLE-ARGUMENT
See CALL
Returns the stack call function.
Can be either a function object or the name of a global function.
See CALL
Returns the condition stored in the environment (if any).
See CL:CONDITION
See ENVIRONMENT
environment
)) ¶automatically generated reader method
Returns a list of restarts stored in the environment (if any).
See CL:RESTART
See ENVIRONMENT
environment
)) ¶automatically generated reader method
Returns a list of calls stored in the environment (if any).
See CALL
See ENVIRONMENT
environment
)) ¶automatically generated reader method
Returns the thread stored in the environment (if any).
See SB-THREAD:THREAD
See THREADS:THREAD
See MP:PROCESS
See MT:THREAD
See CCL:PROCESS
See PROCESS:PROCESS
See THREAD:THREAD
See ENVIRONMENT
environment
)) ¶automatically generated reader method
If possible, returns the file the called function is defined in.
See CALL
If possible, returns the actual definition form of the function.
See CALL
Invoke the restart that the restart object references.
See RESTART
If possible, returns the line number in the file where the function is defined.
See CALL
Returns a dotted alist of locals bound in the frame call.
If the locals are not available, returns NIL.
See CALL
Returns the restart’s symbol. Use this for INVOKE-RESTART.
See RESTART
Returns the platform-internal restart object.
See RESTART
Returns the position of the call on the stack.
See CALL
Internal generic function for pretty printing.
See PRESENT
environment
) stream) ¶list
) stream) ¶(eql t)
) stream) ¶condition
) stream) ¶Returns the report string describing the restart’s effects.
See RESTART
Returns a symbol to the restart-function or a direct function-object.
See RESTART
unavailable-argument
) stream) ¶unknown-arguments
) stream) ¶Class container for stack frame information.
See POS
See CALL
See ARGS
See FILE
See LINE
See FORM
args
.
call
.
file
.
form
.
line
.
locals
.
pos
.
present-object
.
print-object
.
Container class for a current "environment".
An instance of this class is intended to represent most of the runtime
environment present at a particular point. It is useful for stashing away
debug information for inspection at a later date.
See CAPTURE-ENVIRONMENT
See ENVIRONMENT-CONDITION
See ENVIRONMENT-STACK
See ENVIRONMENT-RESTARTS
See ENVIRONMENT-THREAD
Initarg | Value |
---|---|
:condition | nil |
:stack | (stack) |
:restarts | (restarts) |
:thread | (current-thread) |
common-lisp
.
:condition
This slot is read-only.
:stack
This slot is read-only.
:restarts
This slot is read-only.
:thread
This slot is read-only.
Class container for restart information.
See NAME
See REPORT
See RESTART
See OBJECT
See INTERACTIVE
See TEST
See INVOKE
:interactive
This slot is read-only.
Used to represent an argument that isn’t available in the environment.
Instances of this class are printed as #<Unavailable>
Used to represent an unknown list of arguments.
Instances of this class are printed as #<Unknown Arguments>
Look for stack truncations and cappings and chop it down accordingly.
sbcl-restart
)) ¶automatically generated reader method
sbcl-restart
)) ¶automatically generated writer method
Returns the interactive restart function.
See RESTART
Returns the restart test function.
See RESTART
:conditions
Jump to: | %
(
A C D E F G I L M N O P R S T W |
---|
Jump to: | %
(
A C D E F G I L M N O P R S T W |
---|
Jump to: | A C F I L N O P R S T |
---|
Jump to: | A C F I L N O P R S T |
---|
Jump to: | B C D E F I M P R S T U |
---|
Jump to: | B C D E F I M P R S T U |
---|