The following example shows the steps and syntax used to dump hexadecimal variables.
+--------------------------------------------------------------------------------+
| Display Module Source |
| Program: TEST1 Library: DEBUG Module: MAIN |
| 1 struct { |
| 2 char charValue; |
| 3 unsigned long intValue; |
| 4 } test; |
| 5 |
| 6 int main(){ |
| 7 test.intValue = 10; |
| 8 test.charValue = 'c'; |
| 9 test.charValue = 11; |
| 10 return 0; |
| 11 } |
| Bottom |
| Debug . . . eval test: x 32____________________________________________ |
| ________________________________________________________________________ |
| F3=Exit program F6=Add/Clear breakpoint F10=Step F11=Display variable |
| F12=Resume F17=Watch variable F18=Work with watch F24=More keys |
+--------------------------------------------------------------------------------+
+--------------------------------------------------------------------------------+ | Evaluate Expression | | | | Previous debug expressions | | | | > BREAK 9 | | > EVAL test: x 32 | | 00000 83000000 0000000A 00000000 00000000 - c.............. | | 00010 00000000 00000000 00000000 00000000 - ............... | | | +--------------------------------------------------------------------------------+
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.