Visualization Tools User's Guide


Example: Setting Options

  1. Open a Snooper on the Transcript.
  2. From Options select Show Classes (or press Alt+S).
  3. Note that all the classes of objects are now visible.
    Options window
  4. Press Alt+S again to return to the original state.
  5. In the Transcript, type
    | a b |
    a := EtWorkspace new.
    b := EtWorkspace new.
    (Array with: a with: b with: a) snoop 
    
  6. From Options select S := Single Selection (or, press control+alt+S).
  7. From Options select Mark Appearance Of Variables (or, press alt+A.
  8. Select the at: 1 line. (This has the effect of assigning that value to S.)
    Mark Appearance of Variables

    Note that a marker =S appears next to the at: 1 and at: 3 line. This indicates that the values in those lines are identical to the global variable S. In particular, they are the same an EtWorkspace.

    Also note that no =S marker appears on at: 2. This indicates that its value is a different an EtWorkspace.

  9. Now, select the at: 2 line. (This has the effect of assigning its CwText(text) value to S).
    Mark Appearance of Variables

    Note that an =S marker appears next to the at: 2 line, but not the at: 1 and at: 3 lines.

  10. Press control+alt+S to turn off S := mode.
  11. Press alt+S to turn off Mark Appearances of Variables mode.


[ Top of Page | Previous Page | Table of Contents ]