Using the WDB GUI · Using the 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 example, if you set a breakpoint in the Command view, a breakpoint marker (a solid red octagon) appears in the left column of the GUI's Source and Disassembly views. A history of commands you have executed during the current debug session is available from a drop-down list or by scrolling with the keyboard. You can repeat these commands as well as edit them.
![]() Issuing WDB CommandsTo issue a WDB command
![]() Shell CommandsWith this version of WDB GUI , when you issue the shell command with no parameters a new window pops up, depending on the TERM environment variable. If the value of TERM is not set to dtterm, hpterm or xterm, then the default value of xterm is passed to the shell command. The TERM value used is displayed in the Command window:
In this shell window, you can perform all shell operations. When you issue the exit command, the shell window closes and the prompt returns to WDB GUI windows. While the shell window is active, any debugger actions requested will be queued and executed when the shell window exits. The (gdb) command prompt will also be disabled while the shell window is active. ![]() Using the Command HistoryA history of commands you have executed during the current debug session is available in a drop-down list. You can traverse the list and repeat a command. You can also use key combinations to edit a command or scroll through previous commands on the command line. To view the command history with the drop-down list:
To view and edit commands from the input area:
![]() Getting Help on WDB CommandsYou can list the available WDB commands (and command classes) and access help on these commands. This is useful if you need to explore the functionality of WDB, find the correct syntax for a command, or understand the correct command usage. To view a list of debugger commands
To get help on a specific debugger topic
![]() Tips
![]() See Also![]() Return to Top |