I downloaded the source code of a Visual Studio 2010 project, and since I have to analyze it for my University I'd like to be able to debug with breakpoints
我下载了Visual Studio 2010项目的源代码,因为我必须为我的大学分析它,我希望能够使用断点进行调试
Problem is, my Configuration popup only shows Release as option, there is no Debug option and so my breakpoints are always ignored
问题是,我的Configuration弹出窗口只显示Release as选项,没有Debug选项,所以我的断点总是被忽略
This is the first time I try to use VS, I always used Eclipse as IDE and I really don't know how to solve this - I tried to search the web but it didn't help
这是我第一次尝试使用VS,我总是使用Eclipse作为IDE,我真的不知道如何解决这个问题 - 我试图在网上搜索但它没有帮助
So, how can I run a VS project in debug with my breakpoints? Thanks in advance
那么,如何在我的断点调试中运行VS项目?提前致谢
If it can help, here's the project - http://scene.sourceforge.net/download.html
如果它可以提供帮助,这是项目 - http://scene.sourceforge.net/download.html
EDIT
编辑
If it can helps, when I try to debug in existing configuration a pop up warns me that ( loosely translated from italian, not the exact sentence ) "Debug informations related to project not found. Binary not compilated with debug informations".
如果它可以帮助,当我尝试在现有配置中调试时,弹出窗口警告我(从意大利语松散翻译,而不是确切的句子)“找不到与项目相关的调试信息。二进制文件未与调试信息编译”。
1 个解决方案
#1
0
A VS project can hold many configurations, not just the default Win32 Debug and Release. It's also possible to delete existing configurations which is probably your case.
VS项目可以容纳许多配置,而不仅仅是默认的Win32 Debug和Release。也可以删除现有配置,这可能是您的情况。
You can add the Debug configuration by right clicking on the solution within VS and select Build Configuration. Select new and ask to copy from Release.
您可以通过右键单击VS中的解决方案添加Debug配置,然后选择Build Configuration。选择新的并要求从发布中复制。
Manually change the build options to a debug build which time consuming BTW. You'll need to go over each and every option.
手动将构建选项更改为调试构建,耗时BTW。你需要仔细检查每一个选项。
#1
0
A VS project can hold many configurations, not just the default Win32 Debug and Release. It's also possible to delete existing configurations which is probably your case.
VS项目可以容纳许多配置,而不仅仅是默认的Win32 Debug和Release。也可以删除现有配置,这可能是您的情况。
You can add the Debug configuration by right clicking on the solution within VS and select Build Configuration. Select new and ask to copy from Release.
您可以通过右键单击VS中的解决方案添加Debug配置,然后选择Build Configuration。选择新的并要求从发布中复制。
Manually change the build options to a debug build which time consuming BTW. You'll need to go over each and every option.
手动将构建选项更改为调试构建,耗时BTW。你需要仔细检查每一个选项。