Solved

Memory analyzer for Turbo Pascal 6.0

Posted on 2004-04-17
5
297 Views
Last Modified: 2010-04-16
Hello,

I'm trying to troubleshoot a rather elusive memory corruption bug in a mountain of old Borland Turbo Pascal 6.0 code.  I'm in search of something akin to Purify which will alert me to suspect memory allocations, deallocations, reads, writes, etc.  Does such a beast exist?  My web searches have proven generally fruitless and I'm getting to my wit's end with this admittedly venerable code!

Thanks!
0
Comment
Question by:goku3989
5 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 10853874
I doubt any tools like that exist.  First TP6 is rather old and no longer supported.

Do you have any clues where the leak might be?  Can you post the relevant code?

mlmcc
0
 

Author Comment

by:goku3989
ID: 10861079
Unfortunately, I'm not really sure where the memory corruption is occuring and there's a considerable amount of code to go through.  That's why I'm in search of a tool.  I've found some memory check tools that work for TP 7.0; I was hoping (against hope) there might also something that works for 6.0.

-Matt
0
 
LVL 3

Accepted Solution

by:
CoolBreeze earned 300 total points
ID: 10945545
have you tried this?
http://www.filelibrary.com:8080/cgi-bin/freedownload/DOS/h/77/hdeb20s.zip
A heap debugger, though for TP 7.0, it might work for 6.0?

as mlmcc mentioned, TP 6.0 is old, so your best bet might be to debug the code yourself.
Try to isolate the problem.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Returning BSTR from a Delphi COM .DLL 2 1,918
TClientSocket.SendStream is slow... 2 970
Compare of Excelsheets 41 383
TEdit.SetFocus trouble 3 172
Most MSPs worth their salt are already offering cybersecurity to their customers. But cybersecurity as a service is wide encompassing and can mean many things.  So where are MSPs falling in this spectrum?
There's a lot of hype surrounding blockchain technology. Here's how it works and some of the novel ways it' s now being used - including for data protection.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question