| << Prev | - Up - | Next >> |
ozdThe Oz debugger is extensively documented in ``The Mozart Debugger''. We describe it here merely in its incarnation as a command line application. Furthermore, we only document its options.
If you have created an Oz application which you normally start from the shell as follows:
FooArgs...
Then you can run it under control of the Oz debugger by using the following command instead:
ozd Foo --Args...
Any Oz application can be run in the debugger, but you only get the full benefit of the debugging interface when the code being executed was compiled with the -g option to include debugging information.
The double dash -- separates the arguments intended for ozd from those intended for the application being run under the debugger.
--help, -h, -?Display information on legal options, then exit
-g, --debugger, --mode=debuggerThis option is the default: it starts the debugger. The other possibility is -p to start the profiler (see Chapter 5).
-p, --profiler, --mode=profilerThis is the other mode of operation: it starts the profiler instead (see Chapter 5).
-E, --(no)useemacsStarts a subordinate Emacs process. This will be used to display the source code currently being debugged. You will also be able to set breakpoints easily on source lines.
--emacs=FILESpecifies the Emacs binary to run for option -E. The default is $OZEMACS if set, else emacs.
| << Prev | - Up - | Next >> |