## Stop Mode Debug Example

This example shows how to create and build an application and debug it on a device using JTAG debug software and Lauterbach hardware.

The basic steps include:

- Verify that your SDK or customer kit is recognized in the SDK preferences panel.
- Create project or Import the project's bld.inf file into Carbide.c++
- Specify your ROM build settings for the selected project
- Build your Project with the ARMV5 Debug Build Configuration
- Create a launch configuration for Trace32
- Launch the debugger

With stop mode debugging you can use the Carbide.c++ IDE and a JTAG interface to communicate between the debugger and a board to debug any target type within the Symbian OS.

### Attach to Process

Use Attach to Process to debug any binaries outside the workspace. The methods to do this include:

- Select a process in the Symbian OS Data View, then click Debug to launch the debugger which then attaches to the selected process. Ensure that the binary to debug is included in the Executables view in order to set and hit any breakpoints.
- Create an Attach to Process Launch Configuration using the New Launch Configuration Wizard for the project

##### Related Tasks

- Stop Mode On-Device Debugging Preconditions
- Symbian OS Trace32 Support