Visual Studio cannot find or open PDB file resolution

Source: Internet
Author: User

Visual Studio cannot find or open PDB file resolution

When using the VS debugger, sometimes you will be prompted in the output box at the bottom of VS to "cannot find or open PDB files." How does this work?

Below, we take VS2013 as an example, to teach you the solution.

Method/Step
  1. 1

    Open the VS2013 and click the menu "Tools"-"options".

  2. 2

    In the Options window, expand Debug-General, and then tick enable source server support in the right pane.

  3. 3

    then expand "Debug"-"Symbols" and tick "Windows Symbol server".

  4. 4

    a warning dialog box pops up, ignoring clicking OK .

  5. 5

    Finally, click "OK" to close the Options window.

  6. 6

    Next, let's click on the "Local Windows Debugger" to debug the Run program.

  7. 7

    When you run the program for the first time, the associated symbol set is downloaded from the Windows Server, which takes a little time.

  8. 8

    Later on, the program starts. Later, if you debug the program again, you do not have to wait again (because the symbol set has been downloaded from the server to local).

Precautions
    • The first time you debug a program, you need to load the symbol set from the server in networking.

Reference: http://jingyan.baidu.com/article/90bc8fc87fbafff653640ca6.html

Visual Studio cannot find or open PDB file resolution

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.