How to work effectively with SOS debugging extensions?

When I use .load SOS in the immediate Visual Studio window and issue a special command that leads to a long list of output (for example,! Dumpheap -type System.String -min 100), the immediate window simply cannot stop the value list and keeps scrolling for a few hours. All I can do is kill the process and restart debugging. This is very annoying. Do you know how I can cancel this ad in the nearest window or get some other advice, how can I better use the SOS debugging extensions?

+3
source share
1 answer

I do not have much experience using SOS from Visual Studio. But when used from WinDbg (the original SOS home), you can break most of the commands by pressing CTRL + Break. I'm not sure if Visual Studio will have the same processing, but it's worth it.

0
source

Source: https://habr.com/ru/post/1718295/


All Articles