home *** CD-ROM | disk | FTP | other *** search
/ Aminet 10 / aminetcdnumber101996.iso / Aminet / dev / debug / findmemloss.readme < prev    next >
Text File  |  1996-01-05  |  1KB  |  31 lines

  1. Short:    Finds the source-line in which you lose memory! (needs cpr/SAS)
  2. Author:   h9525967@idefix.wu-wien.ac.at (Clemens Resanka)
  3. Uploader: h9525967@idefix.wu-wien.ac.at (Clemens Resanka)
  4. Type:     dev/debug
  5.  
  6.  If you have ever used Mungwall and Munglist to find out if your program loses
  7. memory, you will probably know, that these only tell you the amount and sizes of
  8. memory-packets that get lost. They cannot tell you exactly where in your program
  9. you lose the memory.
  10.  
  11. Now it is possible to execute your program line by line in a debugger. If you
  12. start Munglist after every line, you can find out in which source-line you
  13. allocate memory, which you do not free afterwards.
  14.  
  15. And thats exactly what findmemloss.cpr does. It is an Arexx-script for cpr which
  16. executes a function of you program line by line and then tells you in which line
  17. you have allocated the memory, that gets lost.
  18.  
  19. But be careful: It is written in Arexx and it starts Munglist after every line.
  20. Thus it is very slow... but it works!
  21.  
  22.  
  23. ============================= Archive contents =============================
  24.  
  25. Original  Packed Ratio    Date     Time    Name
  26. -------- ------- ----- --------- --------  -------------
  27.     4588    1368 70.1% 26-Dec-95 23:19:46  findmemloss.cpr
  28.     4288    1767 58.7% 26-Dec-95 23:18:06  FindMemLoss.guide
  29. -------- ------- ----- --------- --------
  30.     8876    3135 64.6% 29-Dec-95 12:46:06   2 files
  31.