如何从Delphi DLL文件中分析转储文件? [英] How to analyze a dump file from a Delphi DLL file?

查看:236
本文介绍了如何从Delphi DLL文件中分析转储文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是使用 C#的产品的升级工程师和Delphi 2006代码。

I'm an escalation engineer on a product which use both C# and Delphi 2006 code.

在大多数情况下,C#问题被调试与 WinDbg 和Delphi 2006问题与 EurekaLog

In most cases C# issues are debugged with WinDbg and Delphi 2006 issues with EurekaLog.

但是当问题是Delphi内存使用情况时,EurekaLog没有提供足够的信息来解决问题,我唯一需要调试的是一个完整的内存转储文件。

But when the issue is a Delphi memory usage, EurekaLog doesn't give enough information to fix the issue, and the only thing I have for debug it is a full memory dump file.

我不能(或我不知道如何)加载WinDbg中的符号文件,因为它是一个 .map 文件而不是 .pdb 文件。

I cannot (or I don't know how to) load the symbol file in WinDbg, because it is a .map file and not a .pdb file.

所以我的问题是:


  • 如何从WinDbg中的.map文件中加载符号? (将 .map 转换为 .pdb 或其他。)

有没有分析Delphi应用程序转储文件的工具?

Is there a tool to analyze the dump file for a Delphi application?

推荐答案

要从地图转换为Dbg符号:

- 从 http://code.google.com/p/map2dbg/

- 将Map2dbg放在与YourApp.exe及其地图文件相同的文件夹中

- 执行:map2dbg.exe YourApp.exe

To convert from Map to Dbg symbols:
- Get Map2Dbg.exe from http://code.google.com/p/map2dbg/
- Put Map2dbg in the same folder as YourApp.exe and its map file
- Execute: map2dbg.exe YourApp.exe

您应该得到一个用于Microsoft工具的YourApp.dbg文件...。

You should get a YourApp.dbg file to use with Microsoft tools….

这篇关于如何从Delphi DLL文件中分析转储文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆