shownew

The shownew program displays a running record of the heap allocations in a Modula-3 program.

Normally, you should not start shownew directly. Rather, the runtime will start shownew and feed it with the proper data when the argument @M3shownew is given to a Modula-3 program; for example, to run the program foo and see the allocations of that process, type:

    foo @M3shownew
A Trestle window will appear; when you click the start option in the control menu, the program foo will actually start.

To set the interval between updates to X seconds, add the argument @M3update=X to the command line. X must be an integer. For example:

    foo @M3shownew @M3update=5


[Modula-3 home page]

m3-request@src.dec.com
Last modified on Mon Sep 25 18:30:27 PDT 1995 by heydon 
     modified on Fri Apr 22 10:40:42 PDT 1994 by kalsow 
     modified on Thu Jan  7 18:40:57 PST 1993 by muller