如何忽略/禁用用于调试 Delphi 6 DLL 的主机 EXE 中的 INT 01 和 INT 03 指令?

发布于 2024-12-23 00:08:07 字数 354 浏览 4 评论 0原文

我有一个用于 Skype 的 Delphi 6 DirectShow DLL。我对 DLL 的调试设置是将我的 Run 参数的 Host 参数设置为 Skype。问题在于,Skype 客户端中似乎存在大量 INT 01 和 INT 03 指令,由于它们不断受到攻击,因此无法进行调试。每次命中其中之一时,Delphi 调试器都会弹出访问冲突,并且 CPU 窗口的指令指针正好位于 INT 01 或 INT 03 指令上。

有没有办法解决这个问题,以便我可以正确调试? (请注意,我认识到 Skype 已加载的其他外部 DLL 之一可能是问题所在,因此它不是 Skype,但无论如何,这与我需要解决的问题相同)。

I have a Delphi 6 DirectShow DLL that I am using with Skype. My debugging setup for the DLL is to set the Host parameters for my Run parameters to Skype. The problem is that there appears to be a slew of INT 01 and INT 03 instructions in the Skype client that are making debugging impossible since they are constantly being hit. Every time one of them is hit the Delphi debugger pops up with an access violation and the CPU window's instruction pointer squarely on the INT 01 or INT 03 instruction.

Is there a way to work around this problem so I can debug properly? (Note, I recognize it's possible that one of the other external DLLs already loaded by Skype is the problem so it's not Skype, but it's the same problem I need work around in any case).

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

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

发布评论

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

评论(1

动听の歌 2024-12-30 00:08:07

Skype 采取了许多广泛的措施来击败调试器。您遇到的情况几乎肯定是其中之一。

您可能需要在 Skype 以外的环境中调试 DLL。

Skype takes a number of extensive measures to defeat debuggers. What you're running into is almost certainly one of them.

You will probably need to debug your DLL in an environment other than Skype.

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