The Sessions tab in the Debugger window lists the currently
running debugging sessions and their properties. The session
with the current debugger focus is marked with .
You can set two properties for a session. Setting the Persistent property to true makes a session persistent The session remains in the Sessions tab when you finish the debugger. Persistent sessions are useful for debugging client-server applications.
The Action on Finish property determines what happens when you finish a persistent session. The possible values are "Finish Session" and "Hide Session and Listen." The first value changes the session state to "not running." The second value changes the session state to "hidden." No information related to the process (for example, running threads) is displayed and debug commands (such as Pause) are disabled. Hiding a session is useful if you have started a complex application by the debugger (for example, a server) and you want to stop debugging, but not execution of the application (so that you can modify the client sources and debug the application later).
A session whose state is "not running" or "hidden" starts again when you start the debugger. You can destroy a session (exit the debugged VM and remove the session from the Sessions tab) by right-clicking the session and choosing Destroy.
For step-by-step instructions on working with sessions, see:
Starting Multiple Sessions
Making a Session Persistent
Finishing or Destroying a Session
Restarting a Finished Persistent Session