Editing a Debug Target

See Also 

You can edit a debug target to change its development host, run arguments, run directory, debugging options, or runtime checking options.

To edit a debug target:

  1. Choose Debug > Debug Recent > Edit Debug Target.
  2. In the Edit Debug Target dialog box, select the debug target you want to edit from the target list. If you want to duplicate a target and edit the duplicate, click Duplicate, then select the duplicate from the target list.
  3. To change the development host, select a development host from the Host drop-down list.

    To add a new development host, click Hosts to open the Remote Host Settings dialog box.

  4. To change the executable, type the full path to the executable in the Executable text field, or click the Browse button and navigate to the executable in the Select Executable dialog box.
  5. To change the run arguments or run directory, on the Running Tab:
    1. Type any run arguments in the Arguments text field or click the browse button to type the arguments in Running-Arguments dialog box.
    2. Specify the run directory by:
      • Typing a path name in the Run Directory field.
      • Clicking the browse button and then clicking the Browse button in the Running-Run Directory dialog box, selecting the directory in the Run Directory dialog box and clicking Select, and clicking OK in the Running-Run Directory dialog box.
    3. Specify any environment variables by clicking the browse button, typing the settings in Running-Environment dialog box. Click OK.
  6. To change the debugging options, set Debugging Options for the debugging session on the Debugging tab.
  7. If you want to do memory access, or memory leak and usage testing, set Runtime Checking Options on the RunTime Memory Checking tab.
  8. See Also
    Starting a Debugging Session
    Debugging a Program You Have Debugged Recently

    Legal Notices
     
     
     
    .