Visual Studio loading symbols

后端 未结 16 1856
清酒与你
清酒与你 2020-12-02 04:37

I\'m working on a ColdFusion project for a while now, and Visual Studio started to behave strange for me at least.

I observed that when I started debugging, it built

相关标签:
16条回答
  • 2020-12-02 05:19

    Another reason for slow loading is if you have disabled "Enable Just My Code" in Debugging options. To enable this go to:

    Tools -> Options -> Debugging -> General -> Enable Just My Code (Managed Only) 
    

    Make sure this is checked.

    0 讨论(0)
  • You can try the following answer to Visual Studio debugging/loading very slow:

    1. Go to Tools -> Options -> Debugging -> General

    2. CHECK the checkmark next to "Enable Just My Code".

    3. Go to Tools -> Options -> Debugging -> Symbols

    4. Click on the "..." button and create/select a new folder somewhere on your local computer to store cached symbols. I named mine "Symbol caching" and put it in Documents -> Visual Studio 2012.

    5. Click on "Load all symbols" and wait for the symbols to be downloaded from Microsoft's servers, which may take a while. Note that Load all symbols button is only available while debugging.

    6. UNCHECK the checkmark next to "Microsoft Symbol Servers" to prevent Visual Studio from remotely querying the Microsoft servers.

    7. Click "OK".

    Also try to delete all the breakpoints(Debug>Delete all the breakpoints),

    See Also: Visual Studio 2015 RC1 Hangs in Debug mode while loading symbols

    0 讨论(0)
  • 2020-12-02 05:23

    For me, it seems related to breakpoints, as indicated in the accepted answer. However, I found two workarounds that did not involve deleting all the breakpoints:

    • Restarting Visual Studio seemed to fix it temporarily.
    • Clicking the "X" button to close Visual Studio while debugging causes the "Do you want to stop debugging?" message box to pop up; while this message box is up, the symbols load at ordinary speeds. Once all the symbols are loaded, you can click "No" to cancel the close.
    0 讨论(0)
  • 2020-12-02 05:26

    Try right clicking at one of the breakpoints, and then choose 'Location'. Then check the check box 'Allow the source code to different from the original version'

    0 讨论(0)
  • 2020-12-02 05:28

    Unchecking "Enable JavaScript debugging for ASP.NET (Chrome and IE)" in Tools->Options->Debugging->General resolved my case with unavailability to launch VS2017 debugger with pre-set breakpoints.

    0 讨论(0)
  • 2020-12-02 05:28

    I had a similar issue where visual studio keeps loading symbol and got stuck.

    It turns out I added some "Command line arguments" in the Debug options, and one of the parameters is invalid(I am supposed to pass in some values).

    After I remove the extra parameter, it starts working again.

    0 讨论(0)
提交回复
热议问题