Using the WDB GUI ·
Saving and Restoring Debug Sessions
Home and Help Icons Keyword Index Home Using Help
Line Graphic
Line Graphic

Contents

Keyword Index

Using the WDB GUI
Starting and Exiting the WDB GUI
Loading a Program and Changing Program Settings
Opening Source Files
Changing the Working Directory
{short description of image} Saving and Restoring Debug Sessions
Setting Source Paths
Setting Object Paths
Setting Pathmap
Viewing Your Code
Browsing Functions
Setting Signal Handling
Finding Specific Text in Your Code
Using the Command View
Using the Watch View
Using Quick Watch
Using the Local Variables View
Using the Call Stack View
Using the Threads View
Using the Registers View
Examining Memory Use
Using the Program Console
Using Breakpoints
Advancing Through Your Program
Fixing Code from within the Debugger
Starting and Stopping the Debug Process
Setting Debugger Preferences
Customizing Colors and Fonts

Reference Information

Troubleshooting

Using Help



Bullet Overview
Bullet Saving a Debug Session
Bullet Restoring a Debug Session
Bullet Tips
Bullet See Also

Line Graphic

Overview

You can save and restore the following debug session attributes:

  • the current working directory
  • program settings
  • source paths
  • object paths
  • pathmaps
  • how signals are handled
  • current breakpoints
  • the window layout
  • debugger preferences
Line Graphic

Saving a Debug Session

To save a debug session

  1. Click Save Session on the File menu.
  2. In the Save Debug Session dialog box, enter the name of the file where you want the session to be saved. You can type or browse for the file name.
  3. Check the types of session data you want to save.
  4. Click OK.
Line Graphic

Restoring a Debug Session

To restore a debug session

  1. Click Restore Session on the File menu.
  2. In the Save Restore Session dialog box, enter the name of the session file you want to restore. You can type or browse for the file name.
  3. Check the types of session data you want to restore.
  4. Click OK.

See Tips for a quick way to restore a debug session.

NOTE: Restoring the current directory or program settings will cause your program to reload.
Line Graphic

Tips

  • A quick way to restore a debug session is to use the Recent Sessions list on the File menu. This restores all the session data that was saved in the file you select.
  • When you restore a session, the available session data will be checked automatically.
  • Restoring the current directory or program settings will cause your program to reload. You may want to uncheck these if you do not need to restore this information.
  • If you save a session to a file that already has session data in it, the types of session data you chose to save previously will be checked by default.
Line Graphic

See Also



Return to Top