The trivial-backtrace Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The trivial-backtrace Reference Manual

This is the trivial-backtrace Reference Manual, version 1.1.0, generated automatically by Declt version 2.3 "Robert April" on Wed Mar 14 04:40:05 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction



Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 trivial-backtrace

Maintainer

Gary Warren King <gwking@metabang.com>

Author

Gary Warren King <gwking@metabang.com>

License

MIT Style license

Description

trivial-backtrace

Version

1.1.0

Source

trivial-backtrace.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Modules

Modules are listed depth-first from the system components tree.


Next: , Previous: , Up: Modules   [Contents][Index]

3.1 trivial-backtrace/setup

Parent

trivial-backtrace (system)

Location

dev/

Component

packages.lisp (file)


Previous: , Up: Modules   [Contents][Index]

3.2 trivial-backtrace/dev

Dependency

setup (module)

Parent

trivial-backtrace (system)

Location

dev/

Components

Next: , Previous: , Up: Top   [Contents][Index]

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Next: , Previous: , Up: Files   [Contents][Index]

4.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.1 trivial-backtrace.asd

Location

trivial-backtrace.asd

Systems

trivial-backtrace (system)

Packages

trivial-backtrace-system


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.2 trivial-backtrace/setup/packages.lisp

Parent

setup (module)

Location

dev/packages.lisp

Packages

trivial-backtrace


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.3 trivial-backtrace/dev/utilities.lisp

Parent

dev (module)

Location

dev/utilities.lisp

Exported Definitions

*date-time-format* (special variable)

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.4 trivial-backtrace/dev/backtrace.lisp

Parent

dev (module)

Location

dev/backtrace.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.5 trivial-backtrace/dev/map-backtrace.lisp

Parent

dev (module)

Location

dev/map-backtrace.lisp

Exported Definitions
Internal Definitions

Previous: , Up: Lisp files   [Contents][Index]

4.1.6 trivial-backtrace/dev/fallback.lisp

Dependencies
Parent

dev (module)

Location

dev/fallback.lisp


Previous: , Up: Files   [Contents][Index]

4.2 Other


Previous: , Up: Other files   [Contents][Index]

4.2.1 trivial-backtrace/COPYING

Parent

trivial-backtrace (system)

Location

COPYING


Next: , Previous: , Up: Top   [Contents][Index]

5 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

5.1 trivial-backtrace-system

Source

trivial-backtrace.asd

Use List

Previous: , Up: Packages   [Contents][Index]

5.2 trivial-backtrace

Source

packages.lisp (file)

Use List

common-lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

6.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.1 Special variables

Special Variable: *date-time-format*

The default format to use when printing dates and times.

* %% - A ’%’ character
* %d - Day of the month as a decimal number [01-31]
* %e - Same as %d but does not print the leading 0 for days 1 through 9 [unlike strftime[], does not print a leading space]
* %H - Hour based on a 24-hour clock as a decimal number [00-23]
*%I - Hour based on a 12-hour clock as a decimal number [01-12]
* %m - Month as a decimal number [01-12]
* %M - Minute as a decimal number [00-59]
* %S - Second as a decimal number [00-59]
* %w - Weekday as a decimal number [0-6], where Sunday is 0
* %y - Year without century [00-99]
* %Y - Year with century [such as 1990]

This code is borrowed from the ‘format-date‘ function in [metatilities-base][].

Package

trivial-backtrace

Source

utilities.lisp (file)


Previous: , Up: Exported definitions   [Contents][Index]

6.1.2 Functions

Function: backtrace-string &rest ARGS
Package

trivial-backtrace

Source

map-backtrace.lisp (file)

Function: map-backtrace FUNCTION
Package

trivial-backtrace

Source

map-backtrace.lisp (file)

Function: print-backtrace ERROR &key OUTPUT IF-EXISTS VERBOSE

Send a backtrace for the error ‘error‘ to ‘output‘.

The keywords arguments are:

* :output - where to send the output. This can be:

* a string (which is assumed to designate a pathname)
* an open stream
* nil to indicate that the backtrace information should be returned as a string

* if-exists - what to do if output designates a pathname and the pathname already exists. Defaults to :append.

* verbose - if true, then a message about the backtrace is sent to \*terminal-io\*. Defaults to ‘nil‘.

If the ‘output‘ is nil, the returns the backtrace output as a string. Otherwise, returns nil.

Package

trivial-backtrace

Source

backtrace.lisp (file)

Function: print-backtrace-to-stream STREAM

Send a backtrace of the current error to stream.

Stream is assumed to be an open writable file stream or a string-output-stream. Note that ‘print-backtrace-to-stream‘ will print a backtrace for whatever the Lisp deems to be the *current* error.

Package

trivial-backtrace

Source

backtrace.lisp (file)

Function: print-condition CONDITION STREAM

Print ‘condition‘ to ‘stream‘ using the pretty printer.

Package

trivial-backtrace

Source

backtrace.lisp (file)


Previous: , Up: Definitions   [Contents][Index]

6.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.1 Special variables

Special Variable: *trivial-backtrace-frame-print-specials*
Package

trivial-backtrace

Source

map-backtrace.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.2 Macros

Macro: generate-time-part-function PART-NAME POSITION
Package

trivial-backtrace

Source

utilities.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.3 Functions

Function: copy-frame INSTANCE
Package

trivial-backtrace

Source

map-backtrace.lisp (file)

Function: copy-pos-form-number INSTANCE
Package

trivial-backtrace

Source

map-backtrace.lisp (file)

Function: copy-var INSTANCE
Package

trivial-backtrace

Source

map-backtrace.lisp (file)

Function: date-time-string &key DATE/TIME FORMAT
Package

trivial-backtrace

Source

utilities.lisp (file)

Function: format-date FORMAT DATE &optional STREAM TIME-ZONE
Package

trivial-backtrace

Source

utilities.lisp (file)

Function: frame-func INSTANCE
Function: (setf frame-func) VALUE INSTANCE
Package

trivial-backtrace

Source

map-backtrace.lisp (file)

Function: frame-p OBJECT
Package

trivial-backtrace

Source

map-backtrace.lisp (file)

Function: frame-source-filename INSTANCE
Function: (setf frame-source-filename) VALUE INSTANCE
Package

trivial-backtrace

Source

map-backtrace.lisp (file)

Function: frame-source-pos INSTANCE
Function: (setf frame-source-pos) VALUE INSTANCE
Package

trivial-backtrace

Source

map-backtrace.lisp (file)

Function: frame-vars INSTANCE
Function: (setf frame-vars) VALUE INSTANCE
Package

trivial-backtrace

Source

map-backtrace.lisp (file)

Function: impl-map-backtrace FUNC
Package

trivial-backtrace

Source

map-backtrace.lisp (file)

Function: make-frame &key (FUNC FUNC) (SOURCE-FILENAME SOURCE-FILENAME) (SOURCE-POS SOURCE-POS) (VARS VARS)
Package

trivial-backtrace

Source

map-backtrace.lisp (file)

Function: make-pos-form-number &key (NUMBER NUMBER)
Package

trivial-backtrace

Source

map-backtrace.lisp (file)

Function: make-var &key (NAME NAME) (VALUE VALUE)
Package

trivial-backtrace

Source

map-backtrace.lisp (file)

Function: pos-form-number-number INSTANCE
Function: (setf pos-form-number-number) VALUE INSTANCE
Package

trivial-backtrace

Source

map-backtrace.lisp (file)

Function: pos-form-number-p OBJECT
Package

trivial-backtrace

Source

map-backtrace.lisp (file)

Function: print-frame FRAME STREAM
Package

trivial-backtrace

Source

map-backtrace.lisp (file)

Function: print-map-backtrace &optional STREAM &rest ARGS
Package

trivial-backtrace

Source

map-backtrace.lisp (file)

Function: time-date &optional UNIVERSAL-TIME TIME-ZONE

Returns the date part of the given time.

Package

trivial-backtrace

Source

utilities.lisp (file)

Function: time-day-of-week &optional UNIVERSAL-TIME TIME-ZONE

Returns the day-of-week part of the given time.

Package

trivial-backtrace

Source

utilities.lisp (file)

Function: time-daylight-savings-time-p &optional UNIVERSAL-TIME TIME-ZONE

Returns the daylight-savings-time-p part of the given time.

Package

trivial-backtrace

Source

utilities.lisp (file)

Function: time-hour &optional UNIVERSAL-TIME TIME-ZONE

Returns the hour part of the given time.

Package

trivial-backtrace

Source

utilities.lisp (file)

Function: time-minute &optional UNIVERSAL-TIME TIME-ZONE

Returns the minute part of the given time.

Package

trivial-backtrace

Source

utilities.lisp (file)

Function: time-month &optional UNIVERSAL-TIME TIME-ZONE

Returns the month part of the given time.

Package

trivial-backtrace

Source

utilities.lisp (file)

Function: time-second &optional UNIVERSAL-TIME TIME-ZONE

Returns the second part of the given time.

Package

trivial-backtrace

Source

utilities.lisp (file)

Function: time-year &optional UNIVERSAL-TIME TIME-ZONE

Returns the year part of the given time.

Package

trivial-backtrace

Source

utilities.lisp (file)

Function: var-name INSTANCE
Function: (setf var-name) VALUE INSTANCE
Package

trivial-backtrace

Source

map-backtrace.lisp (file)

Function: var-p OBJECT
Package

trivial-backtrace

Source

map-backtrace.lisp (file)

Function: var-value INSTANCE
Function: (setf var-value) VALUE INSTANCE
Package

trivial-backtrace

Source

map-backtrace.lisp (file)


Previous: , Up: Internal definitions   [Contents][Index]

6.2.4 Structures

Structure: frame ()
Package

trivial-backtrace

Source

map-backtrace.lisp (file)

Direct superclasses

structure-object (structure)

Direct slots
Slot: func
Readers

frame-func (function)

Writers

(setf frame-func) (function)

Slot: source-filename
Readers

frame-source-filename (function)

Writers

(setf frame-source-filename) (function)

Slot: source-pos
Readers

frame-source-pos (function)

Writers

(setf frame-source-pos) (function)

Slot: vars
Readers

frame-vars (function)

Writers

(setf frame-vars) (function)

Structure: pos-form-number ()
Package

trivial-backtrace

Source

map-backtrace.lisp (file)

Direct superclasses

structure-object (structure)

Direct methods

print-object (method)

Direct slots
Slot: number
Readers

pos-form-number-number (function)

Writers

(setf pos-form-number-number) (function)

Structure: var ()
Package

trivial-backtrace

Source

map-backtrace.lisp (file)

Direct superclasses

structure-object (structure)

Direct slots
Slot: name
Readers

var-name (function)

Writers

(setf var-name) (function)

Slot: value
Readers

var-value (function)

Writers

(setf var-value) (function)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   F   L   M   O   T  
Index Entry  Section

F
File, Lisp, trivial-backtrace.asd: The trivial-backtrace<dot>asd file
File, Lisp, trivial-backtrace/dev/backtrace.lisp: The trivial-backtrace/dev/backtrace<dot>lisp file
File, Lisp, trivial-backtrace/dev/fallback.lisp: The trivial-backtrace/dev/fallback<dot>lisp file
File, Lisp, trivial-backtrace/dev/map-backtrace.lisp: The trivial-backtrace/dev/map-backtrace<dot>lisp file
File, Lisp, trivial-backtrace/dev/utilities.lisp: The trivial-backtrace/dev/utilities<dot>lisp file
File, Lisp, trivial-backtrace/setup/packages.lisp: The trivial-backtrace/setup/packages<dot>lisp file
File, other, trivial-backtrace/COPYING: The trivial-backtrace/copying file

L
Lisp File, trivial-backtrace.asd: The trivial-backtrace<dot>asd file
Lisp File, trivial-backtrace/dev/backtrace.lisp: The trivial-backtrace/dev/backtrace<dot>lisp file
Lisp File, trivial-backtrace/dev/fallback.lisp: The trivial-backtrace/dev/fallback<dot>lisp file
Lisp File, trivial-backtrace/dev/map-backtrace.lisp: The trivial-backtrace/dev/map-backtrace<dot>lisp file
Lisp File, trivial-backtrace/dev/utilities.lisp: The trivial-backtrace/dev/utilities<dot>lisp file
Lisp File, trivial-backtrace/setup/packages.lisp: The trivial-backtrace/setup/packages<dot>lisp file

M
Module, trivial-backtrace/dev: The trivial-backtrace/dev module
Module, trivial-backtrace/setup: The trivial-backtrace/setup module

O
Other File, trivial-backtrace/COPYING: The trivial-backtrace/copying file

T
trivial-backtrace.asd: The trivial-backtrace<dot>asd file
trivial-backtrace/COPYING: The trivial-backtrace/copying file
trivial-backtrace/dev: The trivial-backtrace/dev module
trivial-backtrace/dev/backtrace.lisp: The trivial-backtrace/dev/backtrace<dot>lisp file
trivial-backtrace/dev/fallback.lisp: The trivial-backtrace/dev/fallback<dot>lisp file
trivial-backtrace/dev/map-backtrace.lisp: The trivial-backtrace/dev/map-backtrace<dot>lisp file
trivial-backtrace/dev/utilities.lisp: The trivial-backtrace/dev/utilities<dot>lisp file
trivial-backtrace/setup: The trivial-backtrace/setup module
trivial-backtrace/setup/packages.lisp: The trivial-backtrace/setup/packages<dot>lisp file

Jump to:   F   L   M   O   T  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   (  
B   C   D   F   G   I   M   P   T   V  
Index Entry  Section

(
(setf frame-func): Internal functions
(setf frame-source-filename): Internal functions
(setf frame-source-pos): Internal functions
(setf frame-vars): Internal functions
(setf pos-form-number-number): Internal functions
(setf var-name): Internal functions
(setf var-value): Internal functions

B
backtrace-string: Exported functions

C
copy-frame: Internal functions
copy-pos-form-number: Internal functions
copy-var: Internal functions

D
date-time-string: Internal functions

F
format-date: Internal functions
frame-func: Internal functions
frame-p: Internal functions
frame-source-filename: Internal functions
frame-source-pos: Internal functions
frame-vars: Internal functions
Function, (setf frame-func): Internal functions
Function, (setf frame-source-filename): Internal functions
Function, (setf frame-source-pos): Internal functions
Function, (setf frame-vars): Internal functions
Function, (setf pos-form-number-number): Internal functions
Function, (setf var-name): Internal functions
Function, (setf var-value): Internal functions
Function, backtrace-string: Exported functions
Function, copy-frame: Internal functions
Function, copy-pos-form-number: Internal functions
Function, copy-var: Internal functions
Function, date-time-string: Internal functions
Function, format-date: Internal functions
Function, frame-func: Internal functions
Function, frame-p: Internal functions
Function, frame-source-filename: Internal functions
Function, frame-source-pos: Internal functions
Function, frame-vars: Internal functions
Function, impl-map-backtrace: Internal functions
Function, make-frame: Internal functions
Function, make-pos-form-number: Internal functions
Function, make-var: Internal functions
Function, map-backtrace: Exported functions
Function, pos-form-number-number: Internal functions
Function, pos-form-number-p: Internal functions
Function, print-backtrace: Exported functions
Function, print-backtrace-to-stream: Exported functions
Function, print-condition: Exported functions
Function, print-frame: Internal functions
Function, print-map-backtrace: Internal functions
Function, time-date: Internal functions
Function, time-day-of-week: Internal functions
Function, time-daylight-savings-time-p: Internal functions
Function, time-hour: Internal functions
Function, time-minute: Internal functions
Function, time-month: Internal functions
Function, time-second: Internal functions
Function, time-year: Internal functions
Function, var-name: Internal functions
Function, var-p: Internal functions
Function, var-value: Internal functions

G
generate-time-part-function: Internal macros

I
impl-map-backtrace: Internal functions

M
Macro, generate-time-part-function: Internal macros
make-frame: Internal functions
make-pos-form-number: Internal functions
make-var: Internal functions
map-backtrace: Exported functions

P
pos-form-number-number: Internal functions
pos-form-number-p: Internal functions
print-backtrace: Exported functions
print-backtrace-to-stream: Exported functions
print-condition: Exported functions
print-frame: Internal functions
print-map-backtrace: Internal functions

T
time-date: Internal functions
time-day-of-week: Internal functions
time-daylight-savings-time-p: Internal functions
time-hour: Internal functions
time-minute: Internal functions
time-month: Internal functions
time-second: Internal functions
time-year: Internal functions

V
var-name: Internal functions
var-p: Internal functions
var-value: Internal functions

Jump to:   (  
B   C   D   F   G   I   M   P   T   V  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *  
F   N   S   V  
Index Entry  Section

*
*date-time-format*: Exported special variables
*trivial-backtrace-frame-print-specials*: Internal special variables

F
func: Internal structures

N
name: Internal structures
number: Internal structures

S
Slot, func: Internal structures
Slot, name: Internal structures
Slot, number: Internal structures
Slot, source-filename: Internal structures
Slot, source-pos: Internal structures
Slot, value: Internal structures
Slot, vars: Internal structures
source-filename: Internal structures
source-pos: Internal structures
Special Variable, *date-time-format*: Exported special variables
Special Variable, *trivial-backtrace-frame-print-specials*: Internal special variables

V
value: Internal structures
vars: Internal structures

Jump to:   *  
F   N   S   V  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   F   P   S   T   V  
Index Entry  Section

F
frame: Internal structures

P
Package, trivial-backtrace: The trivial-backtrace package
Package, trivial-backtrace-system: The trivial-backtrace-system package
pos-form-number: Internal structures

S
Structure, frame: Internal structures
Structure, pos-form-number: Internal structures
Structure, var: Internal structures
System, trivial-backtrace: The trivial-backtrace system

T
trivial-backtrace: The trivial-backtrace system
trivial-backtrace: The trivial-backtrace package
trivial-backtrace-system: The trivial-backtrace-system package

V
var: Internal structures

Jump to:   F   P   S   T   V