<< Prev | - Up - | Next >> |
This section briefly documents how Mozart's development tools are integrated into the OPI; several of these commands are available from the Oz menu. For more details about the tools themselves, see the individual user manuals. For a description of the feedable regions, see Section 4.3.
The following command is useful for several of the tools.
oz-bar-remove
[command]Remove any coloured bar marking an Oz source line. Such bars are used by the Compiler Panel, the Debugger and the Profiler.
oz-browse-buffer
(C-. b C-b) [command]oz-browse-region
START
END
(C-. b C-r) [command]oz-browse-line
COUNT
(C-. b C-l) [command]oz-browse-paragraph
COUNT
(C-. b C-p) [command]Feed the corresponding text region to the Oz Compiler. Assuming it to contain an expression, enclose it by an application of the procedure Browse
.
oz-inspect-buffer
(C-. i C-b) [command]oz-inspect-region
START
END
(C-. i C-r) [command]oz-inspect-line
COUNT
(C-. i C-l) [command]oz-inspect-paragraph
COUNT
(C-. i C-p) [command]Feed the corresponding text region to the Oz Compiler. Assuming it to contain an expression, enclose it by an application of the procedure Inspect
.
oz-open-panel
(C-. C-. s) [command]Open the System Panel by feeding the statement {Panel.open}
to the Oz Compiler.
oz-open-compiler-panel
(C-. C-. c) [command]Open the Compiler Panel by feeding the statement {New CompilerPanel.'class' init(OPI.compiler) _}
to the Oz Compiler.
oz-debugger
ARG
(C-. C-. d) [command]Open the Oz Debugger by feeding the statement {Ozcar.open}
to the Oz Compiler. With ARG
, close it instead by {Ozcar.close}
.
oz-breakpoint-at-point
ARG
(C-x SPC) [command] Set a dynamic breakpoint for the Oz Debugger in any code carrying the current source file name (or buffer name) and line number as debugging information. With ARG
, delete any breakpoints at these coordinates instead.
oz-profiler
ARG
(C-. C-. p) [command]Open the Oz Profiler by feeding the statement {Profiler.open}
to the Oz Compiler. With ARG
, close it instead by {Profiler.close}
.
<< Prev | - Up - | Next >> |