Solved

Memory analyzer for Turbo Pascal 6.0

Posted on 2004-04-17
5
303 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 101

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
Popular third-party chat platforms like Slack, Discord, and Telegram are just a few of the many new productivity applications that are being hijacked by cybercriminals to create command-and-control (C&C) communications infrastructures for their malw…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

719 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