简体   繁体   English

我可以自己生成一个.RSM文件供Delphi Debugger使用吗?

[英]Can I generate a .RSM file myself for the Delphi Debugger to use?

I wish to debug executables for which I have no code, using the Delphi Debugger. 我希望使用Delphi Debugger调试我没有代码的可执行文件。

WinDBG and other debuggers are no option in this case, as the given executables all call into my DLL, for which I do have code, obviously. WinDBG中和其他调试器在这种情况下,没有选择,因为给定的可执行文件全部调用到我的DLL,对此有代码,效果显着。 My ultimate goal is, to see a stack-trace right down into the functions of the running executable. 我的最终目标是,在运行的可执行文件的功能中查看堆栈跟踪。

I do have symbol-information for these executables, so I was hoping I could write my own .RSM files for this purpose. 我确实有这些可执行文件的符号信息,所以我希望我可以为此编写自己的.RSM文件。 Will this work? 这会有用吗? Will the Delphi debugger pick up any .RSM file that it can find? Delphi调试器会选择它能找到的任何.RSM文件吗? And would that mean that other debug-information should be left out? 这是否意味着应该省略其他调试信息?

Do note that there are lots of executables that I need to debug, and for all of them I detect the symbols inside them myself, using a moderately advanced function-detection algorithm. 请注意,我需要调试许多可执行文件,并且对于所有这些,我使用适度高级的功能检测算法自己检测其中的符号。 So my main problem mainly is how to write .RSM files. 所以我的主要问题主要是如何编写.RSM文件。 For this I have to know the structure of the .RSM file-format. 为此,我必须知道.RSM文件格式的结构。 Is there documentation or example code available somewhere that shows me how to create such a file? 是否有可用的文档或示例代码向我展示如何创建这样的文件?

Any help is appreciated! 任何帮助表示赞赏!

PS: Might you be wondering why I'm doing all this : It's all related to Dxbx - an open-source Xbox1 emulator. PS:你可能想知道我为什么这么做:这都与Dxbx有关 - 一个开源的Xbox1模拟器。 See sourceforce for details. 有关详细信息,请参阅sourceforce New members are welcome! 欢迎新会员!

I found a page that says the format is similar to CodeView (www.openwatcom.org/index.php/Debugging_Format_Interoperability) 我发现一个页面说格式类似于CodeView(www.openwatcom.org/index.php/Debugging_Format_Interoperability)

There is a link to this reference at Microsoft's CodeView format specs Microsoft的CodeView格式规范中有一个指向此引用的链接

I doubt this fully answers your question, but maybe it will get you a little further? 我怀疑这完全回答了你的问题,但也许会让你更进一步?

检查这个url ,提到为Delphi创建一个rsm文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM