next |
previous
|
forward
|
backward
|
up
|
top
|
index
|
toc
|
packages
|
Macaulay2 website
Macaulay2Doc
>
The Macaulay2 language
>
debugging
debugging
Macaulay2 has a debugger.
the debugger
Here are some other debugging tools.
assert
-- check whether something is true, raise an error if not
benchmark
-- accurate timing of execution
browse
-- browse the contents of an object
code
-- display source code
current
-- the pseudocode that produced an error
currentFileName
-- the current source file
disassemble
-- disassemble pseudocode or a function
edit
-- edit source code
error
-- deliver error message
errorDepth
-- set the error printing depth
flagLookup
-- flag a symbol
listLocalSymbols
-- display of local symbols and their values
listUserSymbols
-- display the user's symbols
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 function
shield
-- shield evaluation from interrupts
showStructure
-- display parent structure
showUserStructure
-- show parent structure for those types defined by user
try
-- catch an error
userSymbols
-- a list of the user's symbols