| ||
Getting Started: GNU Emacs Integration (cont'd) |
The two windows
After having invoked gbeta on the
betaenv.gb ) emphasized in the middle of the other
window:
"=>" arrow enables a quick scan
to find the line containing the current imperative, and somewhere in
the middle of that line, a block is highlighted using the same
attributes as the "secondary selection." This might e.g. give the
selected region a light blue background color. Here it is shown as
a blue foreground color.
Some unchanged features, and a better display
Printing the state of objects or the structure of patterns, or static
information about program elements works the same as in the command
line environment. Showing a position in the source code works a lot
better, because the
theProgram :
`beer.gb:1112 . Now give that (without
the backquote) as an argument to the display command:
`beer.gb:1112 (or closely after it) has the same
effect.
"print something" delivers. Try to double-click on
beer.gb:532 or similar!
Remember that if you get lost because you have looked at lots of places in the source code browsing the state of the program, you can always display the imperative which will be executed next by:
In the next section we will start executing the program, and begin to use breakpoints. |