CS452 - Real-Time Programming - Spring 2010

Public Interest Announcements

  1. Groups

Lecture 9 - Debugging



Busy-wait IO

Good for early-stage debugging

Bad when the real-world comes into the computation

Stack Trace

In single-threaded programs this is often the most useful tool.

What is the equivalent of a stack trace in a multi-tasking environment?


What does it do?

How do you get it started?

Breakpoint is a special case of a particular sort of tool that is very common.

Getting information closer to real-time.


Circular buffer somewhere

How do you read it?

  1. Write it in English
  2. Write it in code

What are the advantages and disadvantages of each?

Use Bits

Fast Interrupts

Return to: