Reference Information · Command View | ||
Contents Keyword Index Using the WDB GUI Reference Information Troubleshooting Using Help |
OverviewThe Command view lets you send commands directly to WDB and view the output from these commands. It also displays messages and warnings associated with the debug process. If you issue a command that has a corresponding GUI action, the command results are reflected in the GUI. For exceptions to this rule, see Using the Command View. You can access the Command view from the main WDB GUI window by clicking the Command tab in the lower tabbed area. Command View Description
Key Combinations for the Command History Drop-Down ListThe following key combinations can be used to traverse the command history drop-down list:
Key Combinations for Editing CommandsThe following key combinations are available for scrolling through the command history and editing a command in the Command view input area. These include:
Pop-Up MenuIn the Command view, click the right mouse button to display a pop-up menu that contains the following commands:
Saving Commandline HistoryThe commandline history is stored in a file, ".wdbguihistory" in the home directory ($HOME) by default. You can name the history file by specifying the following command, $ export WDBGUIHIST = myhistfile at the shell prompt. This command will create a file called "myhistfile" in the home directory, when the WDB GUI is invoked. If a path is specified while exporting the WDBGUIHIST environment variable, the file gets created in that specified path. $ export WDBGUIHIST = /tmp/histfile creates the history file, 'myhistfile' in /tmp. If path is not specified, the history file, by default, is created in the user's home directory. All the commandline debugger commands are appended in the history file. If, an history file exists when WDB GUI is invoked, the contents of the existing history file will be displayed in the dropdown box of the WDB GUI command window. To Save session contents along with commandline history, check the "History File" check box in the 'Save Session' dialog box.The session history will be saved in a file, "sessionn ame.wgs.wdbguihistory". To Restore a session with its history, select the 'Restore Session' option from the menu
and check the "History File" check box. The history details will be displayed in the
dropdownbox of the WDB GUI command window. Tips
See AlsoReturn to Top |