Visual Studio loading symbols

后端 未结 16 1949
清酒与你
清酒与你 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:31

    Visual Studio 2017 Debug symbol "speed-up" options, assuming you haven't gone crazy on option-customization already:

    1. At Tools -> Options -> Debugging -> Symbols
      a. Enable the "Microsoft Symbol Server" option
      b. Click "Empty Symbol Cache"
      c. Set your symbol cache to an easy to find spot, like C:\dbg_symbols or %USERPROFILE%\dbg_symbols
    2. After re-running Debug, let it load all the symbols once, from start-to-end, or as much as reasonably possible.

    1A and 2 are the most important steps. 1B and 1C are just helpful changes to help you keep track of your symbols.

    After your app has loaded all the symbols at least once and debugging didn't prematurely terminate, those symbols should be quickly loaded the next time debug runs.

    I've noticed that if I cancel a debug-run, I have to reload those symbols, as I'm guessing they're "cleaned" up if newly introduced and suddenly cancelled. I understand the core rationale for that kind of flow, but in this case it seems poorly thought out.

提交回复
热议问题