PowerAda Different Ways to Use the Debugger
From OC Systems Wiki!
The debugger operates in either of two modes: execution or command. In execution mode, your program continues running until it either reaches a breakpoint, an unhandled exception, or a normal program end. In command mode, the debugger stops all execution while it reads and processes your commands. The debugger returns to execution mode when you issue a command to continue running the program or to start running the program from the beginning.
There are several ways you can use these two basic modes of operation:
- An interactive session using the debugger graphical user interface. This is the most common way the debugger is used.
- A series of commands from a script file. "Executing Pre-Recorded Commands: SCRIPT" in Appendix F describes how to do this using the SCRIPT command.
- A series of commands from a start-up file. "Executing Commands at Start-up" describes how to use this feature.
- By executing the target program on a different machine than the debugger. =
See "Remote Debugging" for information on this process.