Documente Academic
Documente Profesional
Documente Cultură
4.1 Overview
Starting A Debugging Session
Basic Debugging
System-Level Debugging
4-2
Overview
4-3
Customization
Overview
4.2 Starting A Debugging Session
Basic Debugging
System-Level Debugging
4-6
Executing CrossWind
4-7
Locating Code
4-9
Debugging a Task
4-10
Debugging Multiple Tasks
4-12
CrossWind
Overview
Starting A Debugging Session
4.3 Basic Debugging
System-Level Debugging
4-13
Debugging Tools
step
next
continue
finish
interrupt
4-15
A View of the Stack
4-16
Breakpoints
Default breakpoints:
Stop attached task, or whole system in system mode.
Global breakpoints:
Stop any breakable task. Good for stopping tasks spawned by the
task being debugged.
Hardware breakpoints on some architectures.
Halts on instruction access or various sorts of data access to
specified address. Limited in number.
PPC 603, 603e, 604, 860, 403; Mips R4650; x86;
i960 CA, JX, HX
Temporary breakpoints:
Effective once, then deleted (default) or disabled.
4-17
Breakpoints, Continued.
Conditional breakpoints:
Effective if specified expression is true, otherwise task hitting
breakpoint is automatically resumed.
(gdb) break snafu.c:228 if fbCount > 4
Debug => Breakpoints => Advanced (Windows)
Listing breakpoints:
GDB info breakpoints (i b) command.
Debug->Breakpoints dialog. (Windows)
4-18
Information
4-19
UNIX: The Graphical Interface
Menu Bar
Toolbar
Program
Display
Panel
Command
Panel
4-20
PC: The Graphical Interface
4-21
CrossWind
Overview
Starting A Debugging Session
Basic Debugging
4.4 System-Level Debugging
4-22
Overview
4-23
Debugging In System Mode
4-24
Selecting a Thread To Debug
4-25
Examining a Thread
4-26
Caveats
4-27
Summary
4-28