<small id='DJ21b'></small><noframes id='DJ21b'>

      <legend id='DJ21b'><style id='DJ21b'><dir id='DJ21b'><q id='DJ21b'></q></dir></style></legend>
    1. <i id='DJ21b'><tr id='DJ21b'><dt id='DJ21b'><q id='DJ21b'><span id='DJ21b'><b id='DJ21b'><form id='DJ21b'><ins id='DJ21b'></ins><ul id='DJ21b'></ul><sub id='DJ21b'></sub></form><legend id='DJ21b'></legend><bdo id='DJ21b'><pre id='DJ21b'><center id='DJ21b'></center></pre></bdo></b><th id='DJ21b'></th></span></q></dt></tr></i><div id='DJ21b'><tfoot id='DJ21b'></tfoot><dl id='DJ21b'><fieldset id='DJ21b'></fieldset></dl></div>
      • <bdo id='DJ21b'></bdo><ul id='DJ21b'></ul>
    2. <tfoot id='DJ21b'></tfoot>

        Visual Studio 尚未为此文档加载任何符号

        Visual Studio No Symbols have been loaded for this document(Visual Studio 尚未为此文档加载任何符号)

        <legend id='vj8CI'><style id='vj8CI'><dir id='vj8CI'><q id='vj8CI'></q></dir></style></legend>
            <tbody id='vj8CI'></tbody>
          • <bdo id='vj8CI'></bdo><ul id='vj8CI'></ul>
            <i id='vj8CI'><tr id='vj8CI'><dt id='vj8CI'><q id='vj8CI'><span id='vj8CI'><b id='vj8CI'><form id='vj8CI'><ins id='vj8CI'></ins><ul id='vj8CI'></ul><sub id='vj8CI'></sub></form><legend id='vj8CI'></legend><bdo id='vj8CI'><pre id='vj8CI'><center id='vj8CI'></center></pre></bdo></b><th id='vj8CI'></th></span></q></dt></tr></i><div id='vj8CI'><tfoot id='vj8CI'></tfoot><dl id='vj8CI'><fieldset id='vj8CI'></fieldset></dl></div>

            <small id='vj8CI'></small><noframes id='vj8CI'>

            <tfoot id='vj8CI'></tfoot>

                1. 本文介绍了Visual Studio 尚未为此文档加载任何符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我在调试 Visual Studio 2008 C++ 项目时遇到了一些问题.当我开始在调试中运行它时,断点被禁用,消息为

                  I am having some trouble debugging a visual studio 2008 C++ project. When I start running it in debug, the breakpoints are disabled with the message

                  断点不会被击中.没有为此加载任何符号文档.

                  The Breakpoint will not be hit. No Symbols have been loaded for this document.

                  我尝试过清理和重建,但这并没有什么区别.

                  I have tried cleaning and rebuilding, but this doesn't make a difference.

                  我也尝试查看调试->Windows->模块.如果我右键单击要调试的模块并按符号加载信息,它会显示它尝试从中加载符号的位置列表.列表中的第一个是正确的,文件存在,但旁边是这个错误

                  I also tried looking in Debug->Windows->Modules. If I right click on the module I am trying to debug and press Symbol load information it brings up a list of places it has tried to load the symbols from. The first in the list is correct and the file exists, but next to it is this error

                  C:path omysymbolDebugMyProject.pdb:未知符号处理程序错误

                  C:path omysymbolDebugMyProject.pdb: Unknown symbol handler for error

                  有谁知道这是什么原因造成的或如何解决它?

                  Does anyone know what causes this or how to fix it?

                  推荐答案

                  首先,有可能你的一些模块不会显示在模块窗口中,因为其中一些可能是动态加载的(仅在需要时).

                  First of all, it is possible that some of your modules won't show in the module window, because some of them may be loaded dynamically (only as needed).

                  您可能想要在链接器 > 下检查您的项目属性.调试生成程序数据库文件和生成调试信息.确保这两个设置正确.

                  You might want to check in your project properties under Linker > Debugging > Generate Program Database File and Generate Debug Info. Be sure these two are set properly.

                  另外,检查是否 C/C++ >一般>调试信息格式设置为用于编辑并继续的程序数据库 (/ZI) 或类似内容.

                  Also, check if C/C++ > General > Debug Information Format is set to Program Database for Edit And Continue (/ZI) or something similar.

                  我知道您提到过您的符号文件存在,但检查我刚刚提到的内容将确保您在正确的位置拥有正确版本的符号.

                  I know you mentioned that your symbol file exists, but checking what I just mentioned will ensure you have the right version of your symbol in the right place.

                  最后,检查您的解决方案中的所有项目和文件是否都设置为编译为 Debug 而不是 Release 或其他,因为不会为此项目/文件生成符号(因此不会加载任何符号).

                  Finally, check if all your project and files in your solution are set to compile as Debug and not Release or something else, because no symbols will be generated (hence none will be loaded) for this project / file.

                  希望这会有所帮助.

                  这篇关于Visual Studio 尚未为此文档加载任何符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  C++ stl unordered_map implementation, reference validity(C++ stl unordered_map 实现,参考有效性)
                  C++: Is it possible to use a reference as the value in a map?(C++:是否可以使用引用作为映射中的值?)
                  Where ampersand quot;amp;quot; can be put when passing argument by reference?(其中符号“amp;通过引用传递参数时可以放置吗?)
                  Why can a non-const reference parameter be bound to a temporary object?(为什么可以将非常量引用参数绑定到临时对象?)
                  What is a dangling reference?(什么是悬空引用?)
                  C++ reference changes when push_back new element to std::vector(当 push_back 新元素到 std::vector 时,C++ 引用发生变化)
                    • <bdo id='PFVGL'></bdo><ul id='PFVGL'></ul>
                      <tfoot id='PFVGL'></tfoot>

                        <tbody id='PFVGL'></tbody>

                        1. <i id='PFVGL'><tr id='PFVGL'><dt id='PFVGL'><q id='PFVGL'><span id='PFVGL'><b id='PFVGL'><form id='PFVGL'><ins id='PFVGL'></ins><ul id='PFVGL'></ul><sub id='PFVGL'></sub></form><legend id='PFVGL'></legend><bdo id='PFVGL'><pre id='PFVGL'><center id='PFVGL'></center></pre></bdo></b><th id='PFVGL'></th></span></q></dt></tr></i><div id='PFVGL'><tfoot id='PFVGL'></tfoot><dl id='PFVGL'><fieldset id='PFVGL'></fieldset></dl></div>

                        2. <small id='PFVGL'></small><noframes id='PFVGL'>

                          • <legend id='PFVGL'><style id='PFVGL'><dir id='PFVGL'><q id='PFVGL'></q></dir></style></legend>