[previous] [up] [next]     [contents]
Next: Popup Menus Up: The Program Window Previous: The Program Window

Unsafe Operations

An unsafe operation is one which may be applied to inappropriate arguments, thus raising an error. Unsafe operations are a natural starting point for static debugging. MrSpidey highlights these unsafe operations via font and color changes, as follows:

Figure 2.1 contains examples of these three different kinds of unsafe operations. The tab key moves the focus forward to the next unsafe operation, and the shift-tab key moves the focus backward to the previous unsafe operation. These keystrokes make it easy to inspect the unsafe operations in a program.

figure941
Figure 2.1: Identifying unsafe operations



PLT