OverviewThe Target Selection Dialog allows users to specify the debug target, the interface used to connect to the target, and some useful run options.
Selecting a TargetOptions
More OptionsSelecting a Target Selecting a target involves choosing a target for debugging and setting connection interface options for the target. Common targets include: "Exec" for native debuggers, "Remote/Serial" for establishing a connection to a target board via a serial line, "Remote/TCP" for TCP connections, and "Simulator" for connections to the simulator. There may be more depending on the configuration of the debugger being used. In general, "remote" targets are always serial connections which require the user to specify the serial port and baud rate to be used for the connection and "remote/tcp" targets are always TCP connections which require specifying the hostname and port number of the machine to which to connect. Depending upon configuration, there may be numerous serial- and TCP-based connections. These always follow the naming convention target/Serial and target/TCP. To select a target, choose one of the available targets from the dropdown menu in the Connection Frame. Then specify the interface options for this target: selecting the baudrate and serial port from the dropdown menus (serial targets only) or entering the hostname and port number (TCP targets only). Options Three run options which may be selected include:
More Options Several additional run options may be set for each target from the Target Selection Dialog. These options govern the behavior of the debugger's
Note that all remote targets typically do not "run" programs. Since target boards are usually incapable of creating a new "process", these targets seldom "Run". The defaults for all remote targets reflect this distinction: they are all set to "Continue". Only one of the options "Run Program" and "Continue from Last Stop" may be used. Typically, the default behavior of this setting should not be altered. |