So there are a lot of useful commands in sos that you may not know about. I am going to hit on some of the additional commands that are in the sos.dll that ships with the debugger package.
Note: This extension only works with .NET 1.0 and .NET 1.1.
One command that can be really useful is !aspxpages
The output of this command looks like:
Here we can see all requests currently in the dump and if they are assigned to a thread. In this case, all the requests have completed and so the ThreadId is XXX. If one hadn’t completed yet, we would see the thread number where this request is currently running. We can also see how long the request has been running, if it has been completed, and what page the request was for.
Hope you find this command useful. If you want to see this command or others in 2.0 and later, please let me know. I have this post, ASP.NET and SOS, where I ask about commands you’d like to see.