The options shown in the Debugger page differ based upon the type of launch configuration. Generally, the options fall into these choices:
The Symbian OS Emulator launch configurations the Debugger page to specify entry point breaks and which logs to output to the Console view.
Figure 1 - Debugger page showing emulation options
Option | Explanation |
---|---|
Break at entry point | Select to halt program execution at a specified function or address. Enter the desired function name or address in the corresponding field. If you enter an address, ensure that it is correct and within your program. |
View program output | Enable to direct standard output messages to the Emulation Program Output Console in the Console view. NOTE In the epoc.ini file the option LogToFile must also be set to 1. |
View emulator output | Enable to output emulator messages to the Emulator Output Console in the Console view. NOTE In the epoc.ini file the option LogToDebugger must also be set to 1. |
View Windows system messages | Enable to output Windows system messages to the Windows System Messages Console in the Console view. |
In a run-mode launch configuration like Symbian OS Device (Install SIS), you can specify an entry break point and how messages are handled as well as define the default instruction set.
Figure 2 - Debugger page showing run-mode options
Option | Explanation |
---|---|
Break at entry point |
When checked, break at the specified entry point entered into the text field. For .EXE targets, the default entry point is set to E32Main. By default, the Break at entry point option is unchecked for all other target types. |
View program output | Enable to direct standard output messages to the CODA Program Output Console in the Console view. NOTE In the epoc.ini file the option LogToFile must also be set to 1. |
In stop-mode launch configurations like Symbian OS Device, and Symbian OS Device (Attach to Process), use the Startup Options to attach to a target and debug or run from the specified start address. Then use Target Options to specify the target's processor type, and set which initialization and memory configuration files to use in the debug session.
Figure 3 - Debugger page showing stop-mode options
Group | Option | Explanation |
---|---|---|
Break at entry point |
When checked, break at the specified entry point entered into the text field. For .EXE targets, the default entry point is set to E32Main. By default, the Break at entry point option is unchecked for all other target types. |
|
Startup Options | Debug from start address | Enable the Debug from start address option to debug from the target's default start address. |
Run from start address | Enable the Run from start address option to run from the target's default start address. |