Starting a New Session

Related Topics:

Managing Sessions Quitting a Debugging Session

Use the New Session command in the Active Sessions Dialog Box to start a debugging session without loading a program into the debugger.

If you don't have a debuggable program or don't want to wait for dbx to load symbols, you can start a session without loading a program.

To start a debugging session without loading a program:

1. In the Debugging Window, choose Debug Manage Sessions.

2. Click New Session.

An empty debugging session starts and its session number is added to the list. In the Debugging window, the number of debugging sessions is updated.

When you load a new program, it is loaded into the empty session already running.

If a session is currently running, the Debug New Dialog Box asks you to choose between starting the chosen program and terminating the currently running session, or adding the program to the currently managed sessions.

3. Select from one of the three choices:
Debug New The chosen session starts and its session number is added to the list.
Debug Both The current process is killed and the new program is loaded into the current debugging session.
Cancel No new sessions are started.