使用visual studio 2012调试x64应用程序(C ++) [英] Debugging x64 application (C++) using visual studio 2012

查看:369
本文介绍了使用visual studio 2012调试x64应用程序(C ++)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已经安装了远程调试器(x64),并运行了一个Visual Studio 2012 C ++应用程序,它编译并运行,但不会在断点上停止。



在visual studio我试过boith远程调试和本地调试,但是两者都生成相同的结果。它不会在断点处停止。



我该如何调试x64 c ++应用程序?



编辑1



只是发现调试器说:

  myapp.exe的符号加载被跳过,因为它没有在模块中指定

这是什么意思?

解决方案

配置,我发现生成调试信息在调试部分链接器



(链接器 - >调试:生成调试信息)



为空白。



设置为yes后,调试器开始工作!


I have a visual studio 2012 C++ application which compiles and run, but doesn't stop on breakpoints.

I already installed remote debugger (x64) and also run it and configure it for remote debugging.

In visual studio I tried boith remote debug and local debug, but both of them generate same result. It doesn't stop at breakpoints.

What do I do to debug a x64 c++ application?

Edit 1

Just found that the debugger says:

Symbol loading for myapp.exe was skipped because it is not specified in the includes modules

What that means?

解决方案

After checking project and build configuration, I found that the Generate debug info in debug part of linker

(Linker ->Debug: generate debug info)

is blank.

After setting it to yes, the debugger starts to work!

这篇关于使用visual studio 2012调试x64应用程序(C ++)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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