The cl-tasukete Reference Manual

Table of Contents

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

The cl-tasukete Reference Manual

This is the cl-tasukete Reference Manual, version 0.1, generated automatically by Declt version 2.3 "Robert April" on Tue Feb 20 08:19:50 2018 GMT+0.


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

1 Introduction

cl-tasukete

CircleCI Status TravisCI Status MIT License Quicklisp

Please help me, Common Lisper.

Description

cl-tasukete is a library of collecting debug information and output somewhere.

Installation

If you use Roswell then

cd ~/.roswell/local-projects
git clone https://github.com/gos-k/cl-tasukete.git

If you use Quicklisp then

cd ~/quicklisp/local-projects
git clone https://github.com/gos-k/cl-tasukete.git

Usage

debugger hook

Start cl-tasukete.

(ql:quickload :cl-tasukete)
(tasukete:start)

Execute this code and error.

(error 1)

Output lisp implementation, loaded libraries and some information to standard output.

{"cl-tasukete":[{"condition":"#<SIMPLE-TYPE-ERROR expected-type: SB-KERNEL::CONDITION-CLASS datum: 1>"},{"time":"2016-01-31T13:29:48.000000+09:00"},{"machine":{"INSTANCE":"vaio","TYPE":"X86-64","VERSION":"Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz"}},{"operating-system":{"TYPE":"Linux","VERSION":"3.19.0-42-generic"}},{"lisp-implementation":{"TYPE":"SBCL","VERSION":"1.3.1"}},{"loaded-packages":[{"asdf":"3.1.5"},{"quicklisp":"20160121"},{"sb-bsd-sockets":[]},{"sb-introspect":[]},{"sb-cltl2":[]},{"cl-tasukete":"0.1"},{"cl-gists":"0.1"},{"cl-syntax":"0.3"},{"trivial-types":"0.1"},{"named-readtables":"0.9"},{"cl-syntax-annot":"0.2"},{"cl-annot":"0.1"},{"alexandria":"0.0.0"},{"local-time":"1.0.6"},{"cl-fad":"0.7.3"},{"sb-posix":[]},{"bordeaux-threads":"0.8.4"},{"quri":"0.1.0"},{"babel":[]},{"trivial-features":[]},{"split-sequence":"1.2"},{"cl-utilities":[]},{"sb-rotate-byte":[]},{"dexador":"0.9.10"},{"usocket":"0.6.3.2"},{"fast-http":"0.2.0"},{"proc-parse":"0.1"},{"xsubseq":"0.1"},{"smart-buffer":"0.1"},{"flexi-streams":"1.0.15"},{"trivial-gray-streams":"2.0"},{"uiop":"3.1.5"},{"fast-io":"1.0"},{"static-vectors":"1.6"},{"cffi-grovel":[]},{"cffi":"0.16.1"},{"chunga":"1.1.6"},{"cl-ppcre":"2.0.11"},{"cl-cookie":"0.1"},{"trivial-mimes":"1.1.0"},{"chipz":"0.8"},{"cl-base64":"3.1"},{"cl-reexport":"0.1"},{"cl+ssl":[]},{"trivial-garbage":[]},{"jonathan":"0.1"},{"dissect":"0.11.0"}]},{"stack":["#<DISSECT::SBCL-CALL [1] (LAMBDA ())>","#<DISSECT::SBCL-CALL [2] MAKE-DEBUG-INFORMATION | /home/user/cl-tasukete/src/cl-tasukete.lisp:103>","#<DISSECT::SBCL-CALL [3] TASUKETE | /home/user/cl-tasukete/src/cl-tasukete.lisp:133>","#<DISSECT::SBCL-CALL [4] RUN-HOOK>","#<DISSECT::SBCL-CALL [5] INVOKE-DEBUGGER>","#<DISSECT::SBCL-CALL [6] ERROR>","#<DISSECT::SBCL-CALL [7] ALLOCATE-CONDITION>","#<DISSECT::SBCL-CALL [8] MAKE-CONDITION>","#<DISSECT::SBCL-CALL [9] ERROR>","#<DISSECT::SBCL-CALL [10] SIMPLE-EVAL-IN-LEXENV>","#<DISSECT::SBCL-CALL [11] EVAL>","#<DISSECT::SBCL-CALL [12] EVAL-REGION | /home/user/.emacs.d/.cask/24.4.1/elpa/slime-20160113.630/swank.lisp:1380>","#<DISSECT::SBCL-CALL [13] (LAMBDA () IN REPL-EVAL) | /home/user/.emacs.d/.cask/24.4.1/elpa/slime-20160113.630/contrib/swank-repl.lisp>","#<DISSECT::SBCL-CALL [14] TRACK-PACKAGE | /home/user/.emacs.d/.cask/24.4.1/elpa/slime-20160113.630/contrib/swank-repl.lisp:283>","#<DISSECT::SBCL-CALL [15] CALL-WITH-RETRY-RESTART | /home/user/.emacs.d/.cask/24.4.1/elpa/slime-20160113.630/swank.lisp:488>","#<DISSECT::SBCL-CALL [16] CALL-WITH-BUFFER-SYNTAX | /home/user/.emacs.d/.cask/24.4.1/elpa/slime-20160113.630/swank.lisp:1380>","#<DISSECT::SBCL-CALL [17] REPL-EVAL | /home/user/.emacs.d/.cask/24.4.1/elpa/slime-20160113.630/contrib/swank-repl.lisp:270>","#<DISSECT::SBCL-CALL [18] SIMPLE-EVAL-IN-LEXENV>","#<DISSECT::SBCL-CALL [19] EVAL>","#<DISSECT::SBCL-CALL [20] EVAL-FOR-EMACS | /home/user/.emacs.d/.cask/24.4.1/elpa/slime-20160113.630/swank.lisp:990>","#<DISSECT::SBCL-CALL [21] PROCESS-REQUESTS | /home/user/.emacs.d/.cask/24.4.1/elpa/slime-20160113.630/swank.lisp:885>","#<DISSECT::SBCL-CALL [22] (LAMBDA () IN HANDLE-REQUESTS) | /home/user/.emacs.d/.cask/24.4.1/elpa/slime-20160113.630/swank.lisp>","#<DISSECT::SBCL-CALL [23] (LAMBDA () IN HANDLE-REQUESTS) | /home/user/.emacs.d/.cask/24.4.1/elpa/slime-20160113.630/swank.lisp>","#<DISSECT::SBCL-CALL [24] CALL-WITH-BREAK-HOOK | /home/user/.emacs.d/.cask/24.4.1/elpa/slime-20160113.630/swank/sbcl.lisp:923>","#<DISSECT::SBCL-CALL [25] (FLET CALL-WITH-DEBUGGER-HOOK IN /home/user/.emacs.d/.cask/24.4.1/elpa/slime-20160113.630/swank/sbcl.lisp) | /home/user/.emacs.d/.cask/24.4.1/elpa/slime-20160113.630/swank/sbcl.lisp>","#<DISSECT::SBCL-CALL [26] CALL-WITH-BINDINGS | /home/user/.emacs.d/.cask/24.4.1/elpa/slime-20160113.630/swank.lisp:55>","#<DISSECT::SBCL-CALL [27] HANDLE-REQUESTS | /home/user/.emacs.d/.cask/24.4.1/elpa/slime-20160113.630/swank.lisp:873>","#<DISSECT::SBCL-CALL [28] (FLET WITHOUT-INTERRUPTS-BODY-1156 IN INITIAL-THREAD-FUNCTION-TRAMPOLINE)>","#<DISSECT::SBCL-CALL [29] (FLET WITH-MUTEX-THUNK IN INITIAL-THREAD-FUNCTION-TRAMPOLINE)>","#<DISSECT::SBCL-CALL [30] (FLET WITHOUT-INTERRUPTS-BODY-359 IN CALL-WITH-MUTEX)>","#<DISSECT::SBCL-CALL [31] CALL-WITH-MUTEX>","#<DISSECT::SBCL-CALL [32] INITIAL-THREAD-FUNCTION-TRAMPOLINE>","#<DISSECT::SBCL-CALL [33] foreign function: call_into_lisp>","#<DISSECT::SBCL-CALL [34] foreign function: new_thread_trampoline>"]}]}

If you stop cl-tasukete

(tasukete:stop)

hander-bind

(ql:quickload :cl-tasukete)
(handler-bind ((error #'tasukete:print-json))
  (error 1))

Input source

Output source

Unittest

(ql:quickload :prove)
(prove:run :cl-tasukete-test)

or

cd cl-tasukete/
run-prove *-test.asd

Author

License

Copyright (c) 2015 gos-k (mag4.elan@gmail.com)
Licensed under the MIT License.
http://opensource.org/licenses/mit-license.php

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 cl-tasukete

Author

gos-k

License

MIT

Version

0.1

Dependencies
Source

cl-tasukete.asd (file)

Component

src (module)


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

3 Modules

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


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

3.1 cl-tasukete/src

Parent

cl-tasukete (system)

Location

src/

Components

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

4 Files

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


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

4.1 Lisp


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

4.1.1 cl-tasukete.asd

Location

cl-tasukete.asd

Systems

cl-tasukete (system)


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

4.1.2 cl-tasukete/src/helper.lisp

Parent

src (module)

Location

src/helper.lisp

Packages

cl-tasukete.helper

Exported Definitions

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

4.1.3 cl-tasukete/src/key-value.lisp

Parent

src (module)

Location

src/key-value.lisp

Packages

cl-tasukete.key-value

Exported Definitions

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

4.1.4 cl-tasukete/src/cl-tasukete.lisp

Parent

src (module)

Location

src/cl-tasukete.lisp

Packages

cl-tasukete

Exported Definitions
Internal Definitions

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

5 Packages

Packages are listed by definition order.


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

5.1 cl-tasukete.helper

Source

helper.lisp (file)

Use List
Exported Definitions

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

5.2 cl-tasukete.key-value

Source

key-value.lisp (file)

Use List
Exported Definitions

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

5.3 cl-tasukete

Source

cl-tasukete.lisp (file)

Nickname

tasukete

Use List
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: *debug-information-list*
Package

cl-tasukete

Source

cl-tasukete.lisp (file)

Special Variable: *system-information-list*
Package

cl-tasukete

Source

cl-tasukete.lisp (file)


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

6.1.2 Functions

Function: debug-information-output ()
Package

cl-tasukete

Source

cl-tasukete.lisp (file)

Function: make-debug-information CONDITION
Package

cl-tasukete

Source

cl-tasukete.lisp (file)

Function: make-loaded-packages ()
Package

cl-tasukete.helper

Source

helper.lisp (file)

Function: print-json &optional CONDITION
Package

cl-tasukete

Source

cl-tasukete.lisp (file)

Function: send-to-gist CONTENT
Package

cl-tasukete.helper

Source

helper.lisp (file)

Function: start &key USE-STANDARD-OUTPUT USE-GIST
Package

cl-tasukete

Source

cl-tasukete.lisp (file)

Function: stop ()
Package

cl-tasukete

Source

cl-tasukete.lisp (file)


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

6.1.3 Generic functions

Generic Function: debug-information-to-json DEBUG-INFORMATION
Package

cl-tasukete

Methods
Method: debug-information-to-json DEBUG-INFORMATION
Source

cl-tasukete.lisp (file)

Generic Function: get-key KEY-VALUE
Package

cl-tasukete.key-value

Methods
Method: get-key (KEY-VALUE tasukete-key-value)
Source

key-value.lisp (file)

Generic Function: get-value KEY-VALUE
Package

cl-tasukete.key-value

Methods
Method: get-value (STACK tasukete-stack)
Source

key-value.lisp (file)

Method: get-value (CONDITION tasukete-condition)
Source

key-value.lisp (file)

Method: get-value (KEY-VALUE tasukete-key-value)
Source

key-value.lisp (file)


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

6.1.4 Classes

Class: tasukete-condition ()
Package

cl-tasukete.key-value

Source

key-value.lisp (file)

Direct superclasses

tasukete-key-value (class)

Direct methods

get-value (method)

Direct slots
Slot: key
Initform

"condition"

Slot: value
Initargs

:condition

Class: tasukete-key-value ()
Package

cl-tasukete.key-value

Source

key-value.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Direct slots
Slot: key
Initargs

:key

Slot: value
Initargs

:value

Class: tasukete-lisp-implementation ()
Package

cl-tasukete.key-value

Source

key-value.lisp (file)

Direct superclasses

tasukete-key-value (class)

Direct slots
Slot: key
Initform

"lisp-implementation"

Slot: value
Initform

(list :type (lisp-implementation-type) :version (lisp-implementation-version))

Class: tasukete-loaded-packages ()
Package

cl-tasukete.key-value

Source

key-value.lisp (file)

Direct superclasses

tasukete-key-value (class)

Direct slots
Slot: key
Initform

"loaded-packages"

Slot: value
Initform

(loop cl-tasukete.key-value::for (cl-tasukete.key-value:key . cl-tasukete.key-value:value) cl-tasukete.key-value::in (cl-tasukete.helper:make-loaded-packages) cl-tasukete.key-value::collecting (make-instance (quote cl-tasukete.key-value:tasukete-key-value) :key cl-tasukete.key-value:key :value cl-tasukete.key-value:value))

Class: tasukete-machine ()
Package

cl-tasukete.key-value

Source

key-value.lisp (file)

Direct superclasses

tasukete-key-value (class)

Direct slots
Slot: key
Initform

"machine"

Slot: value
Initform

(list :instance (machine-instance) :type (machine-type) :version (machine-version))

Class: tasukete-operating-system ()
Package

cl-tasukete.key-value

Source

key-value.lisp (file)

Direct superclasses

tasukete-key-value (class)

Direct slots
Slot: key
Initform

"operating-system"

Slot: value
Initform

(list :type (software-type) :version (software-version))

Class: tasukete-stack ()
Package

cl-tasukete.key-value

Source

key-value.lisp (file)

Direct superclasses

tasukete-key-value (class)

Direct methods

get-value (method)

Direct slots
Slot: key
Initform

"stack"

Slot: value
Initform

(dissect:stack)

Class: tasukete-time ()
Package

cl-tasukete.key-value

Source

key-value.lisp (file)

Direct superclasses

tasukete-key-value (class)

Direct slots
Slot: key
Initform

"time"

Slot: value
Initform

(local-time:format-timestring nil (local-time:universal-to-timestamp (get-universal-time)))


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

6.2 Internal definitions


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

6.2.1 Special variables

Special Variable: *debug-information-stock*
Package

cl-tasukete

Source

cl-tasukete.lisp (file)

Special Variable: *debug-information-stock-output*
Package

cl-tasukete

Source

cl-tasukete.lisp (file)

Special Variable: *default-debugger-hook*
Package

cl-tasukete

Source

cl-tasukete.lisp (file)

Special Variable: *use-gist*
Package

cl-tasukete

Source

cl-tasukete.lisp (file)

Special Variable: *use-standard-output*
Package

cl-tasukete

Source

cl-tasukete.lisp (file)


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

6.2.2 Functions

Function: debugger-hook CONDITION ME-OR-MY-ENCAPSULATION
Package

cl-tasukete

Source

cl-tasukete.lisp (file)

Function: make-system-information ()
Package

cl-tasukete

Source

cl-tasukete.lisp (file)


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

Appendix A Indexes


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

A.1 Concepts

Jump to:   C   F   L   M  
Index Entry  Section

C
cl-tasukete.asd: The cl-tasukete<dot>asd file
cl-tasukete/src: The cl-tasukete/src module
cl-tasukete/src/cl-tasukete.lisp: The cl-tasukete/src/cl-tasukete<dot>lisp file
cl-tasukete/src/helper.lisp: The cl-tasukete/src/helper<dot>lisp file
cl-tasukete/src/key-value.lisp: The cl-tasukete/src/key-value<dot>lisp file

F
File, Lisp, cl-tasukete.asd: The cl-tasukete<dot>asd file
File, Lisp, cl-tasukete/src/cl-tasukete.lisp: The cl-tasukete/src/cl-tasukete<dot>lisp file
File, Lisp, cl-tasukete/src/helper.lisp: The cl-tasukete/src/helper<dot>lisp file
File, Lisp, cl-tasukete/src/key-value.lisp: The cl-tasukete/src/key-value<dot>lisp file

L
Lisp File, cl-tasukete.asd: The cl-tasukete<dot>asd file
Lisp File, cl-tasukete/src/cl-tasukete.lisp: The cl-tasukete/src/cl-tasukete<dot>lisp file
Lisp File, cl-tasukete/src/helper.lisp: The cl-tasukete/src/helper<dot>lisp file
Lisp File, cl-tasukete/src/key-value.lisp: The cl-tasukete/src/key-value<dot>lisp file

M
Module, cl-tasukete/src: The cl-tasukete/src module

Jump to:   C   F   L   M  

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

A.2 Functions

Jump to:   D   F   G   M   P   S  
Index Entry  Section

D
debug-information-output: Exported functions
debug-information-to-json: Exported generic functions
debug-information-to-json: Exported generic functions
debugger-hook: Internal functions

F
Function, debug-information-output: Exported functions
Function, debugger-hook: Internal functions
Function, make-debug-information: Exported functions
Function, make-loaded-packages: Exported functions
Function, make-system-information: Internal functions
Function, print-json: Exported functions
Function, send-to-gist: Exported functions
Function, start: Exported functions
Function, stop: Exported functions

G
Generic Function, debug-information-to-json: Exported generic functions
Generic Function, get-key: Exported generic functions
Generic Function, get-value: Exported generic functions
get-key: Exported generic functions
get-key: Exported generic functions
get-value: Exported generic functions
get-value: Exported generic functions
get-value: Exported generic functions
get-value: Exported generic functions

M
make-debug-information: Exported functions
make-loaded-packages: Exported functions
make-system-information: Internal functions
Method, debug-information-to-json: Exported generic functions
Method, get-key: Exported generic functions
Method, get-value: Exported generic functions
Method, get-value: Exported generic functions
Method, get-value: Exported generic functions

P
print-json: Exported functions

S
send-to-gist: Exported functions
start: Exported functions
stop: Exported functions

Jump to:   D   F   G   M   P   S  

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

A.3 Variables

Jump to:   *  
K   S   V  
Index Entry  Section

*
*debug-information-list*: Exported special variables
*debug-information-stock*: Internal special variables
*debug-information-stock-output*: Internal special variables
*default-debugger-hook*: Internal special variables
*system-information-list*: Exported special variables
*use-gist*: Internal special variables
*use-standard-output*: Internal special variables

K
key: Exported classes
key: Exported classes
key: Exported classes
key: Exported classes
key: Exported classes
key: Exported classes
key: Exported classes
key: Exported classes

S
Slot, key: Exported classes
Slot, key: Exported classes
Slot, key: Exported classes
Slot, key: Exported classes
Slot, key: Exported classes
Slot, key: Exported classes
Slot, key: Exported classes
Slot, key: Exported classes
Slot, value: Exported classes
Slot, value: Exported classes
Slot, value: Exported classes
Slot, value: Exported classes
Slot, value: Exported classes
Slot, value: Exported classes
Slot, value: Exported classes
Slot, value: Exported classes
Special Variable, *debug-information-list*: Exported special variables
Special Variable, *debug-information-stock*: Internal special variables
Special Variable, *debug-information-stock-output*: Internal special variables
Special Variable, *default-debugger-hook*: Internal special variables
Special Variable, *system-information-list*: Exported special variables
Special Variable, *use-gist*: Internal special variables
Special Variable, *use-standard-output*: Internal special variables

V
value: Exported classes
value: Exported classes
value: Exported classes
value: Exported classes
value: Exported classes
value: Exported classes
value: Exported classes
value: Exported classes

Jump to:   *  
K   S   V  

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

A.4 Data types

Jump to:   C   P   S   T  
Index Entry  Section

C
cl-tasukete: The cl-tasukete system
cl-tasukete: The cl-tasukete package
cl-tasukete.helper: The cl-tasukete<dot>helper package
cl-tasukete.key-value: The cl-tasukete<dot>key-value package
Class, tasukete-condition: Exported classes
Class, tasukete-key-value: Exported classes
Class, tasukete-lisp-implementation: Exported classes
Class, tasukete-loaded-packages: Exported classes
Class, tasukete-machine: Exported classes
Class, tasukete-operating-system: Exported classes
Class, tasukete-stack: Exported classes
Class, tasukete-time: Exported classes

P
Package, cl-tasukete: The cl-tasukete package
Package, cl-tasukete.helper: The cl-tasukete<dot>helper package
Package, cl-tasukete.key-value: The cl-tasukete<dot>key-value package

S
System, cl-tasukete: The cl-tasukete system

T
tasukete-condition: Exported classes
tasukete-key-value: Exported classes
tasukete-lisp-implementation: Exported classes
tasukete-loaded-packages: Exported classes
tasukete-machine: Exported classes
tasukete-operating-system: Exported classes
tasukete-stack: Exported classes
tasukete-time: Exported classes

Jump to:   C   P   S   T