debug:module
List of: Scheme Extensions
Subjects: Debugging
Contents: Kernel

Action: Sets the debugging level for a module.

Filename: kern/kern_scm/dbg_scm.cxx

Syntax: (debug:module module-name [level=off])

Arg Types: module-name string

level string | integer



Returns: string


module-name specifies the name of the module. A list of possible module names can be obtained using the debug:list-modules extension.


level is an optional argument that specifies the amount of information to be supplied. The possible level values are the strings "off", "calls", "flow", "details", or "all" or an integer (0-4) corresponding to one of these strings. The default level is "off" (or 0).

Example: ; debug:module

; List the debugging levels for all modules.

(fluid-let ((print-length 10))


(print (debug:list-modules)))

; Found 292 modules

; (("acis_to_vda" . "off")

; ("annotation" . "off")

; ("api" . "off")

; ("at-pat" . "off")

; ("atbool" . "off")

; ("atndbool" . "off")

; ("attrib" . "off")

; ("bhl_anal_simg" . "off")

; ("bhl_anal_stitch" . "off")

; ("bhl_bend_surf" . "off") ...)

; Set the debugging level for a module.

(debug:module "boolean" "flow")

;; "off"

; Set the debugging level for a module.

(debug:module "boolean" "off")

;; "flow"
PDF/KERN/12SCA.PDF
HTM/DATA/KERN/KERN/12SCA/0053.HTM