I am using VS 2017 to debug a running process.
First, I generated PDB with DotPeek.
Second, I pointed the directory of pdb location ("C:\PdbDestination") in VS 2107.
Third, I attached to a process which uses that particular assembly, modules are loaded, however, symbol loading is disabled.
The expected result is for the Symbol Status to show "Symbol Loaded".
Could someone please let me know anything I could have possibly missed?
I was able to fix the issue by manually loading it from Modules tab, but I would still like to know what is the actual root cause (e.g. Include/Exclude setting?) that disables the symbols loading.
In general, to totally control what symbols are being loaded and when, check the checkbox called "Search the above locations only when symbols are loaded manually". Symbols will only be loaded when you ask for them to be loaded via the modules or callstack windows. Also, make sure you have a symbol cache specified.
In Visual Studio, open Tools > Options > Debugging > Symbols (or Debug > Options > Symbols).
Please check if "Load all modules, unless excluded" is selected.
Go to Options -> Debugging -> Symbols
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With