forked from pifty/tutes-dump
20 lines
669 B
Plaintext
Executable File
20 lines
669 B
Plaintext
Executable File
[06] HOW CAN I ENABLE DEBUGGING WITH OPENLISP?
|
|
|
|
For more information, check out /usr/pkg/uxlisp/doc/olus.txt
|
|
(pgs. 71 & 72)
|
|
|
|
First, you have to activate/load the debugger by calling '(debug t)'
|
|
You can then get help in the debugger by typing '?'
|
|
|
|
There are several functions used for profiling functions:
|
|
|
|
'profile' (profile function-name)
|
|
'profile-all' (profile-all)
|
|
'unprofile' (unprofile function-name)
|
|
|
|
Reporting is handled by 'profile-log' which can be set with 'time
|
|
'call or 'not-used depending on what you want to see.
|
|
|
|
Thanks to 'water' Brian T. Rice for 'discovering' the debugger
|
|
|