Use the Set Breakpoint command (Ctrl+Shift+B) to set a breakpoint. A regular breakpoint suspends program execution. The debugger executes the line of source code that contains the regular breakpoint.
TIP If you find that a breakpoint is not being hit, verify that the EXE or DLL is listed in the Executables view.
TIP If debugging a server launched by a client, you must attach to the server process using the Symbian OS Data view in order to hit the breakpoints in the server. Alternately, you can launch the server and client as two independent EXEs using the same COM port and debug them that way.
Figure 1 shows some source code and the marker bar to the left of the source code. The selected line shows the breakpoint dot that appears in the marker bar when a breakpoint is set.
Figure 1 - Setting Breakpoints in an editor view
or
or
or
The active breakpoint dot appears () in the marker bar. If the breakpoint is resolved during the debug session, the debugger halts program execution at the line with the resolved breakpoint (
).
NOTE Setting a breakpoint in a file affects execution of all build targets that include that file.
For more information on breakpoints, see C/C++ Development User Guide > Concepts > Debug > Breakpoints.