Solved

Memory analyzer for Turbo Pascal 6.0

Posted on 2004-04-17
5
302 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 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

737 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