Macaulay2
»
Documentation
Packages
»
Macaulay2Doc
»
The Macaulay2 language
»
debugging
next
|
previous
|
forward
|
backward
|
up
|
index
|
toc
debugging
Macaulay2 has a debugger.
the debugger
Here are some other debugging tools.
See also
error handling
-- signalling and trapping errors
Menu
the debugger
debug
-- assistant for debugging packages, dictionaries, etc
assert
-- check whether something is true, raise an error if not
generateAssertions
-- generate assert statements from experimental input
benchmark
-- accurate timing of execution
browse
-- browse the contents of an object
code
-- display source code
current
-- the pseudocode that produced an error
currentPosition
-- the current position in the current source file
lineNumber
-- current line number
currentRowNumber
-- current row number of the current input file
currentColumnNumber
-- current column number of the current input file
currentFileName
-- the current source file
currentFileDirectory
-- the directory containing the current input file
pseudocode
-- produce the pseudocode for a function
disassemble
-- disassemble a pseudocode or function
frames
-- get the frames associated to a closure
functionBody
-- get the body of a function
dictionary
-- determine the dictionary to which a symbol belongs
dictionaryPath
localDictionaries
-- get local dictionaries
fileDictionaries
-- local dictionaries for loaded files
edit
-- edit source code
backtrace
-- whether a backtrace is displayed following an error message
stopIfError
-- whether to stop the program when an error occurs
handleInterrupts
debuggingMode
-- whether to enter the debugger when an error occurs
debugError
-- a function to debug
errorDepth
-- set the error printing depth
debugLevel
-- current debugging level
engineDebugLevel
-- current engine debugging level
loadDepth
-- the load depth
interpreterDepth
-- nesting depth of the interpreter
recursionDepth
-- the current recursion depth
recursionLimit
-- set the limit on recursion
flagLookup
-- flag a symbol
listLocalSymbols
-- display of local symbols and their values
listUserSymbols
-- display the user's symbols
commandInterpreter
-- the top level command interpreter
locate
-- locate source code
methods
-- list methods
on
-- trace a function each time it's run
peek
-- examine contents of an object
peek'
-- examine contents of an object
profile
-- profile a computation
shield
-- shield evaluation from interrupts
showStructure
-- display parent structure
showClassStructure
-- display class structure
showUserStructure
-- show parent structure for those types defined by user
userSymbols
-- a list of the user's symbols
listSymbols
-- compact display of symbols and their values
lookupCount
-- reference count for a symbol
serialNumber
-- serial number of a dictionary, task, symbol, mutable hash table, or mutable list
The source of this document is in
Macaulay2Doc/ov_debugging.m2:71:0
.