Class #509 The Heisenberg Principal of Debugging

10/4/99


Click here to start


Table of Contents

Class #509 The Heisenberg Principal of Debugging

Why Trace Debugging?

Methods of Trace Debugging

A Typical Trace Debugging Session

Comparison: breakpoint vs. tracepoint

Breakpoints vs. Tracepoints

Comparison: step/continue vs. trace

Example: Walking a Tree

Example: Walking a Tree

Setting a Tracepoint

Running the Experiment

The Results: Selecting a Logged Event

The Results: Selecting a Logged Event

The Results: Only What You Asked For

The Results: But Everything On The Way

PPT Slide

The Results: Selecting Other Events

The Results: Selecting Other Events

The Results: Selecting Other Events

Implementation

Evaluating an Expression

Compiling Expressions to Bytecode

GDB Ready to Define a Tracepoint

Tracepoint Definition Dialog Boxes

Replaying the Trace Record

Expressions Window

Registers Window

‘Where’ command, using collected stack

Trace Dump Window

Author: Michael Snyder

Email: msnyder@cygnus.com

Other information:
Slides for "The Heisenberg Debugging Technology", presented at ESC West, Sept. 1999 by Michael Snyder and Jim Blandy