Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove downloaded source code aka External Sources in Visual Studio 2022 Debugging

I accidentally enabled downloading open source code.

I've disabled the "all modules" option in Tools > Options > Debugging > Symbols.

Now I want to know how to remove the symbols I've already downloaded?

enter image description here

Things I've tried

. Enable / disable Just my code

. Enable / disable source server support

. Enable / disable Source link support

. Load only specified modules

. Empty Symbol Cache

. Empty %LocalAppData%\SourceServer

. Clean solution

. Delete .vs folder for solution

. Restart machine

. Restart VS2022

like image 888
Kaido Avatar asked Nov 20 '25 06:11

Kaido


2 Answers

I found a way to turn External Sources off

enter image description here

like image 168
Kaido Avatar answered Nov 24 '25 07:11

Kaido


I had the same issue, but I found to get rid of the External Sources was to do the reverse of the list at https://devblogs.microsoft.com/visualstudio/debugging-external-sources-with-visual-studio/#settings-required.

Then click the "Empty Symbol Cache" button on the Options -> Debugging -> Symbols panel

like image 40
BarryH Avatar answered Nov 24 '25 06:11

BarryH



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!