Solved

Memory analyzer for Turbo Pascal 6.0

Posted on 2004-04-17
5
287 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Delphi XE, DataSnap, JSon and java 8 973
Determine Drive Types 2 470
MAPI Error1: User cancelled request ? 7 1,136
Client Data Set - Wide Memo 6 1,711
A Short Story about the Best File Recovery Software – Acronis True Image 2017
Find out what the Office 365 disclaimer function is, why you would use it and its limited ability to create Office 365 signatures.
This video discusses moving either the default database or any database to a new volume.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

759 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now