(wdb) quit
14.31.2 Navigating the Visual Interface for WDB display
The Visual Interface for WDB window consists of two areas:
• Source pane at the top
• Debugger pane at the bottom
You can use the arrow and pagination keys on the keyboard to move the cursor:
• Pagination keys move the cursor in the source window, at the top, above the status
line.
• Holding the shift key down while using the pagination keys moves the cursor in
the debugger window.
• The up and down arrow keys move the cursor in the source window.
• Holding the shift key down while using the up and down arrow keys move the
cursor in the debugger window.
• The left and right arrow keys move the cursor in the debugger window.
• Two rows of labeled softkeys at the bottom of the display give you quick access
to common commands.
Visual Interface for WDB GUI display
33 #include <stdlib.h>
34 #include "Deck.h"
35 #include "Player.h"
36 #include "House.h"
37
38 int main ()
39 {
*> 40 srand ((int) time(0));
41
42 Deck theDeck;
43 Player thePlayer (100);
44 House theHouse (16);
45
46 theHouse.Instructions();
47 }
File: BlackJack.C Function: main Line: 40 Pc: 0x3ea0
(wdb) b main
Breakpoint 1 at 0x3ea0: file BlackJack.C, line 40.
(wdb) run
Starting program: /work/wdb/blackjack/blackjack
Breakpoint 1, main () at BlackJack.C:40
40 srand ((int) time(0));
(wdb)
234 HP-UX Configuration-Specific Information