next
|
previous
| forward |
backward
|
up
|
top
|
index
|
toc
|
home
Macaulay2
>
The Macaulay2 language
>
debugging
debugging
Macaulay 2 has a debugger.
the debugger
Here are some other debugging tools.
assert
-- assert something is true
benchmark
-- accurate timing of execution
browse
-- browse the contents of an object
code
-- display source code
currentFileName
-- the current source file
edit
-- edit source code
error
-- deliver error message
errorDepth
-- set the error printing depth
flagLookup
-- flag a symbol
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
-- show relationship between types
showUserStructure
-- show relationship between types defined by user
try
-- catch an error
userSymbols
-- a list of the user's symbols