应用程序在尝试调试时崩溃[损坏堆]

发布于 2024-11-25 14:16:41 字数 268 浏览 1 评论 0原文

我有以下问题:

我有一个命令行应用程序。当我从命令行运行它时,它工作正常,但当我尝试调试它时,我收到以下消息:

*Windows 在 orb_app.exe 中触发了断点。这可能是由于堆损坏造成的,这表明 orb_app.exe 或其已加载的任何 DLL 中存在错误。*

应用程序正在使用 CORBA 协议的omniORB 实现来与远程应用程序交互。 编译器:微软C++ 2003 操作系统:Windows 2003

我无法调试我的应用程序的原因是什么?

I have the following problem:

I have a command line application.When I run it from command line it works fine, but when I try to debug it I got the following message:

*Windows has triggered a breakpoint in orb_app.exe. This may be due to a corruption of the heap, which indicates a bug in orb_app.exe or any of the DLLs it has loaded.*

The application is using omniORB implementation of CORBA protocol to interact with remote app.
Compiler: Microsoft C++ 2003
OS : Windows 2003

What can be the reason that I cannot debug my app?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦里人 2024-12-02 14:16:41

问题解决了。使用选项 /MDd 代替 /MD 来生成完整的调试信息。

The problem solved. The option /MDd was used instead of /MD to generate the full debug info.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文