gpt4 book ai didi

c++ - 用于调试 Borland 和 Visual Studio 应用程序的工具

转载 作者:IT老高 更新时间:2023-10-28 23:01:36 26 4
gpt4 key购买 nike

有时我必须调试使用 Borland C++ Builder 编写的应用程序。此应用程序加载使用 Visual C++ 编译的 dll。是否有可以调试应用程序的两个部分的调试器?目前我必须做出决定——要么我可以轻松设置断点并在 Visual Studio 中查看源代码,要么我必须启动 Borland C++,但我无法使用 Visual-Studio 编译的 dll 中的源代码。

感谢您的帮助,托比亚斯

最佳答案

你可以试试OllyDbg - 版本 1.x 似乎不支持最新的 Win 版本,但也有 2.0,虽然它仍处于 alpha 状态(我自己还没有尝试过)。

编辑 - 澄清:

Source debugging OllyDbg reads debugging information in Borland and Microsoft formats. This information includes source code and names of functions, labels, global and static variables. Support for dynamical (stack) variables and structures is very limited.

以上内容来自here .

更新:

我不熟悉 Borland C++ Builder,但在 this link您可以找到一些解释如何处理 Borland 和 MS 之间的一些互操作性问题的文章,这些文章可能会有所帮助。

关于c++ - 用于调试 Borland 和 Visual Studio 应用程序的工具,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7525623/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com