
To step through a program
You can execute one source line (high-level mode) or one instruction
(assembly-level mode) at a time by stepping through the program.
•
Click on the Step action key a few times.
•
If you want to try using a pull-down menu, select Execution
→
Step
→
from PC a
few times.
As the debugger steps through the program, you can see the PC progress
through the source code, as shown by the inverse video line in the Code
window.
To run until a stack level
Now we need to go back to main(). You can run the program until it enters
main() by running to a stack level.
1 Position the mouse pointer over the line containing "main\main" in the
Backtrace window.
2 Select Run Until Stack Level from the Backtrace pop-up menu.
The program counter is now back in main(), on the call to proc_spec_init().
Chapter 1: Getting Started with the Graphical Interface
To step through a program
26
Содержание B1476 68020
Страница 1: ...User s Guide HP B1476 68020 030 Debugger Emulator ...
Страница 25: ...Part 1 Quick Start Guide ...
Страница 26: ...Part 1 2 ...
Страница 27: ...1 Getting Started with the Graphical Interface How to get started using the debugger s graphical interface 3 ...
Страница 39: ......
Страница 76: ...Chapter 2 Getting Started with the Standard Interface To end the debugging session 52 ...
Страница 77: ...Part 2 User s Guide ...
Страница 78: ...Part 2 54 ...
Страница 79: ...3 Entering Debugger Commands How to enter debugger commands using the mouse or the keyboard 55 ...
Страница 112: ...Chapter 3 Entering Debugger Commands Viewing Debugger Status 88 ...
Страница 113: ...4 Loading and Executing Programs How to load a program into the debugger and control its execution 89 ...
Страница 152: ...Chapter 4 Loading and Executing Programs Using the Debugger with the Branch Validator 128 ...
Страница 153: ...5 Viewing Code and Data How to find and display source code and memory contents 129 ...
Страница 206: ...Chapter 5 Viewing Code and Data If problems occur when using simulated I O 182 ...
Страница 230: ...Chapter 6 Making Trace Measurements If tracing is not triggered as expected 206 ...
Страница 243: ...8 Using Macros and Command Files How to use macros and command files to make debugging easier 219 ...
Страница 270: ...Chapter 8 Using Macros and Command Files Using Command Files 246 ...
Страница 307: ...10 Configuring the Emulator How to configure the emulator for your target system 283 ...
Страница 321: ......
Страница 353: ...Part 3 Concept Guide ...
Страница 354: ...Part 3 330 ...
Страница 355: ...11 X Resources and the Graphical Interface An introduction to X resources 331 ...
Страница 368: ...Chapter 11 X Resources and the Graphical Interface 344 ...
Страница 369: ...Part 4 Reference ...
Страница 370: ...Part 4 346 ...
Страница 371: ...12 Debugger Commands Detailed descriptions of command line commands 347 ...
Страница 524: ...Trace Trigger Chapter 12 Trace Trigger 500 ...
Страница 574: ...Chapter 13 Expressions and Symbols in Debugger Commands Symbolic Referencing 550 ...
Страница 575: ...14 Reserved Symbols 551 ...
Страница 579: ...15 Predefined Macros 555 ...
Страница 616: ...Chapter 15 Predefined Macros write 592 ...
Страница 617: ...16 Debugger Error Messages A list of the error messages generated by the debugger 593 ...
Страница 635: ...17 Debugger Versions Information about how this version of the debugger differs from previous versions 611 ...
Страница 638: ...Chapter 17 Debugger Versions 614 ...
Страница 639: ...Part 5 Installation Guide ...
Страница 640: ...Part 5 616 ...
Страница 641: ...18 Installation How to install the debugger software on your computer 617 ...
Страница 671: ...Chapter 18 Installation Configuring Terminals for Use with the Debugger 647 ...
Страница 721: ...X windows resizing large 650 X windows running on bit mapped displays 639 Z zero flag Z 554 Index 697 ...
Страница 722: ...Index 698 ...