_debugger_hook_dummy = 0 [英] _debugger_hook_dummy = 0

查看:110
本文介绍了_debugger_hook_dummy = 0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在VS 2010中调试我的应用程序时,它工作正常,但是当我创建安装程序时,安装它并运行,它用于给出错误,当我调试时它显示以下代码中的错误:

When I debug my application in VS 2010, it works fine but when I create setup, install it and run, it use to give error and when I debug it shows the error in the following code:

__declspec(noinline)
void __cdecl _CRT_DEBUGGER_HOOK(int _Reserved)
{
/* assign 0 to _debugger_hook_dummy so that the function is not folded
in retail */
(_Reserved);
_debugger_hook_dummy = 0;
}


 我无法理解这是什么问题。

 I can't understand what's the problem.

推荐答案

您好FarhanMirza,

Hi FarhanMirza,

谢谢在这里发布。

您能否提供有关错误消息的更多信息?以便我们找到此问题的根本原因。

Could you please provide more information about the error message? So that we could find the root cause of this issue.

I建议您逐步调试代码或使用调试工具,如
windbg
找出哪个语句错误。

I would suggest you debug your code step by step or use debug tools like windbg to find out which statement is wrong.

确保所有依赖项都在2010调试中编译。  在2010调试中编译程序时,以及在VS2013中编译的一些依赖DLL,以及在VS2010-debug中编译程序时以及编译为release的某些依赖项
。导致错误。我愿意建议你查看你的依赖。

Make sure all of your dependencies are also compiled in 2010 debug.  When you compile a program in 2010 debug, and some of the dependent DLLs that  compiles in VS2013, and also when you compile a program in VS2010-debug and some of the dependencies that compile as release. This will cause error. I would suggest you check your dependency.

希望这会对你有所帮助。

Hope this would be helpful to you.

最好的问候,

Sera Yu


这篇关于_debugger_hook_dummy = 0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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