如何在Visual Studio 2005中获取完整的调用堆栈? [英] How to get a full call stack in Visual Studio 2005?
问题描述
如何使用Visual Studio 2005开发的c ++应用程序获得完整的调用堆栈?我想有一个完整的调用堆栈,包括系统库中的代码。
How can I get a full call stack for a c++ application developed with Visual Studio 2005? I would like to have a full call stack including the code in the system libraries.
我必须在Visual Studio中更改一些设置,或者我必须安装其他软件?
Do I have to change some settings in Visual Studio, or do I have to install additional software?
推荐答案
-
获取所有项目依赖关系的调试信息。这在项目属性的配置属性 - > C / C ++ - >常规部分中指定。
Get debug information for all project dependencies. This is specified under the "Configuration Properties -> C/C++ -> General" section of the project properties.
在菜单上,转到工具 - >选项,然后选择调试 - >符号。
On the menu, go to "Tools -> Options" then select "Debugging -> Symbols".
添加指向Microsoft免费符号服务器的新符号位置(文件夹图标)symsrv symsrv.dll c: \\symbols * http://msdl.microsoft.com/downloads/symbols
Add a new symbol location (the folder icon) that points to Microsoft's free symbol server "symsrvsymsrv.dllc:\symbols*http://msdl.microsoft.com/downloads/symbols"
在本地一些地方填写缓存符号字段,所以你不会一直去互联网。
Fill out the "cache symbols" field with some place locally so you don't go to the internet all the time.
这篇关于如何在Visual Studio 2005中获取完整的调用堆栈?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!