简体   繁体   English

使用Visual C ++ 2013 Express调试64位程序

[英]Debugging a 64-bit program with Visual C++ 2013 Express

I'm trying to use the debugger in Visual C++ Express for a 64-bit program. 我正在尝试使用Visual C ++ Express中的调试器来获得64位程序。 Earlier versions didn't ship with a 64-bit compiler, but version 2012 does, and I think so does 2013, and I can compile my program from the command line just fine. 早期版本没有配备64位编译器,但版本2012确实如此,我认为2013年也是如此,我可以从命令行编译我的程序就好了。 However within the IDE, the project build options only mention the possibility of 32-bit builds. 但是在IDE中,项目构建选项仅提到了32位构建的可能性。 Is there a way to get the IDE to support 64-bit builds so as to be able to use the debugger? 有没有办法让IDE支持64位版本才能使用调试器?

Build - > Configuration Manager - >打开Active Solution Platform下拉列表 - >选择<New...> - > Open Type or select the new platform:下拉列表 - >选择x64 - >选择OK

I have not tried the Express version, but I found this answer, which may be helpful to you (though it is for an older version): 我没有尝试过Express版本,但我找到了这个答案,这可能对你有所帮助(虽然它适用于旧版本):

How to compile a 64-bit application using Visual C++ 2010 Express? 如何使用Visual C ++ 2010 Express编译64位应用程序?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM