CS362 2011F Compilers

Class 32: Detour: Experimenting, Testing, and Debugging

Back to Stack Frames (2). On to A Simple Three-Address Code Representation.

This outline is also available in PDF.

Held: Monday, 14 November 2011

Summary: We take a bit of time away from the main topic of this course to consider an issue that some of you have found difficult - How do you make sure that your code is correct and how do you fix it if you find that it is not?

Related Pages:

Notes:

Overview:

Experiments and Testing

Background

Experiments

Testing

Unit Testing

Things to Test

An Example: Designing Tests for Our Symbol Table

A class exercise.

Debugging

An Exercise in Testing and Debugging

As a class, we will test and debug symbol table code written by one of your peers.

Back to Stack Frames (2). On to A Simple Three-Address Code Representation.

Disclaimer: I usually create these pages on the fly, which means that I rarely proofread them and they may contain bad grammar and incorrect details. It also means that I tend to update them regularly (see the history for more details). Feel free to contact me with any suggestions for changes.

This document was generated by Siteweaver on Wed Dec 7 10:26:35 2011.
The source to the document was last modified on Fri Aug 26 13:03:12 2011.
This document may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CS362/2011F/Outlines/outline.32.html.

Samuel A. Rebelsky, rebelsky@grinnell.edu