Debug/Run configurations


To debug, run, and profile an application, you must create a configuration that captures the settings for executing the application. The configurations for debugging, running, and profiling an application are similar; differences between them are explained below. To profile an application, you should create a Run configuration.

The following sections explain the concepts involved in debug/run configurations.

SDK Debug & Run Config

Configuration and executable name

You can provide an unique name for your configuration and select the application executable to use for execution. Select the appropriate executable for debug, run, and profile configurations. The configuration needs to be created only once for the first execution of the application. For subsequent execution of the application, you can select the configuration from the Debug/Run drop-down list in the toolbar.

XMD Target Connection

SDK communicates to the hardware or ISS using XMD. You can choose to execute the application on the hardware or ISS processor target. SDK provides only the appropriate options based on the processor architecture that the application was built for. Each communication target type is associated with a set of advanced options. Click Advanced Options to access the following options:

Initialization

In the Initialization tab, you can select the following tasks, which should be performed before debugging the program.

Remote Debug

If the hardware board is connected to a remote machine, such as a lab machine, SDK provides a way to debug the program on the remote hardware board. You should, however, have XMD running on this remote machine with a TCP interface for communication. This is done by launching XMD with the -ipcport command line option. You can use this tab to specify the XMD TCP interface to communicate.

Note: You cannot run or profile a program on the remote hardware board.

Profiler

SDK provides capability to profile your software application. Use the Profiler tab to specify options for the profiler. Refer to the Profile section for more information.

Related concepts
Debug overview
Run overview
Profile overview

Related tasks
Debugging
Running
Profiling

Related reference
Run and Debug dialog box
Debug views

Copyright © 1995-2009 Xilinx, Inc. All rights reserved.