| |    | 85019 packages online | 
 | 
|  | 
| 
 | 
| dev/debug/findmemloss.lha |  |  | | No screenshot available | 
| Short: | Finds the source-line in which you lose memory! (needs cpr/SAS) |  | Author: | h9525967  idefix.wu-wien.ac.at (Clemens Resanka) |  | Uploader: | h9525967 idefix wu-wien ac at (Clemens Resanka) |  | Type: | dev/debug |  | Architecture: | m68k-amigaos |  | Date: | 1995-12-30 |  
| Download: | dev/debug/findmemloss.lha - View contents |  | Readme: | dev/debug/findmemloss.readme |  | Downloads: | 6653 |  
 |  |  If you have ever used Mungwall and Munglist to find out if your program loses
memory, you will probably know, that these only tell you the amount and sizes of
memory-packets that get lost. They cannot tell you exactly where in your program
you lose the memory.
Now it is possible to execute your program line by line in a debugger. If you
start Munglist after every line, you can find out in which source-line you
allocate memory, which you do not free afterwards.
And thats exactly what findmemloss.cpr does. It is an Arexx-script for cpr which
executes a function of you program line by line and then tells you in which line
you have allocated the memory, that gets lost.
But be careful: It is written in Arexx and it starts Munglist after every line.
Thus it is very slow... but it works!
 |  | 
 Contents of dev/debug/findmemloss.lha
  PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1368    4588  29.8% -lh5- d2db Dec 26  1995 findmemloss.cpr
[generic]                 1767    4288  41.2% -lh5- 75a9 Dec 26  1995 FindMemLoss.guide
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files    3135    8876  35.3%            Dec 29  1995
 | 
 |  | 
|  | 
| Page generated in 0.03 seconds | 
| Aminet © 1992-2024 Urban 
Müller and the Aminet team.
Aminet contact address: <aminet  aminet net> |