Opening an Executable

You can either open an executable file to debug it, or attach the debugger to an existing process.

To open an executable file:

  1. Select File > Open Executable… or click the Open Executable button.

    The Open Executable dialog box opens.

  2. Select an executable file in the Executable File field.
  3. Enter the path to the executable file on the target machine in the Remote Executable File field. Include the name of the executable file in the path.
  4. Check Upload if you want to upload the executable to the target. If you check this, the debugger copies the local executable to the path you define in the Remote Executable File field. Ensure that all directories in the path already exist.
  5. Enter any necessary command line arguments and specify the working directory on the Arguments tab.
  6. If necessary, click the Environment tab and specify any environment variables that will apply to the environment for the executable.
  7. If necessary, click the Source Directories tab and specify the source directories in which to search for the executable.
  8. Click OK.

The debugger opens the executable. In the background, the debugger immediately creates a dummy process and uses it to gather information about the executable, such as which dynamic libraries are mapped. This process never continues, and is killed when:

See Also


Submit feedback on this help topic

Copyright © 2001-2011, Intel Corporation. All rights reserved.