如何在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 "symsrv*symsrv.dll*c:\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屋!