RU beehive logo ITEC dept promo banner
ITEC 120
2019fall
asbrennem
ibarland

tracing through a program
with a debugger, and by hand

At the start of class, we'll demo the on-line tool now available through the tutor/PI link.

Group discussion:

In general: when function A is running and calls function B, A is temporarily set aside (put on the stack), and B runs. If B were to call another function C, then both A and B would be pending on the stack while C runs. Once C finishes, then B would resume, and when B finishes and hands its answer back to A, then A can resume at the line where it left off.

We will spend the remaining time reviewing the bits of syntax we've learned over the last five weeks.


logo for creative commons by-attribution license
This page licensed CC-BY 4.0 Ian Barland
Page last generated
Please mail any suggestions
(incl. typos, broken links)
to ibarlandradford.edu
Rendered by Racket.