Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » General debugging tidbits   (RSS)
I recently received a question from a reader who wanted to know how to set breakpoints in code for applications that crash on startup. The email went like this: I have a .NET app which is crashing upon startup (it even causes DW20.exe to make an appearance). Read More...
The guys at Oredev are in the midst of preparing for the next Oredev conference in November. Sadly I won't be presenting there this year because of other comittments. I say sadly because it was an awesome event last year. If you want to check out my presentation Read More...
I started this blog 2.5 years ago today, mostly because I felt that the same types of issues came up over and over and over in our support cases. I figured that if I started writing about them, a lot of people would be able to resolve them on their own, Read More...
If you have read any of my posts you have probably noticed that I am very partial to windbg and the debugging tools for windows. I often get friendly nudges from the developers of debugdiag when I suggest using adplus and windbg on internal discussion Read More...
When you debug .net applications you will sometimes get error messages in windbg. Here are a few of the ones I most commonly get questions around... Failed to start stack walk If you run the sos command !clrstack to display the .net stack on a thread, Read More...
If I were to pick out ten keywords for my blog I would pick, in no particular order, ASP.net, windbg, sos, debugging, .net exceptions, memory leaks, performance issues, OutOfMemory exceptions, garbage collection, troubleshooting. Those are the things Read More...
This question that I got from a reader is something that I get asked pretty frequently... "I met a small problem during my dump analysis, our application is using .net 2.0. when I load 2.0 version of sos.dll, some of useful extension commands are lost, Read More...
From time to time I get questions like "our process spawns a lot of threads, how do we know who created them?" or "can I tell how many times we call this method?". You can answer both of these questions by setting breakpoints, and below is a simple sample Read More...
From time to time I get questions about how to change settings in windbg like this one... The default color scheme for the command window is really annoying, because it is always black and white. It is really hard to figure out something in the screen Read More...
The purpose of my presentation was to show some common pitfalls and of course to show off windbg and sos just to show people that if you have a hang, perf issue, memory leak or crash, there are tools out there that can help you figure out the root cause Read More...
Earlier this week I published the first .NET Debugging Demos Lab. If you haven't downloaded and tried it out you can get it here . This is a review of this lab with answers to the questions and comments inline in red. Note: results and thread IDs will Read More...
This is the first in a series of about 10 labs on .NET debugging. The lab will use a site called BuggyBits, and as the name suggests the bits are extremely buggy. To get started, follow the setup instructions posted here . I have a feeling that these Read More...
.NET Debugging Demos This is a series of debugging demos aimed to help you get some hands on experience in debugging the most common types of Hang/performance, memory and crash scenarios in .net applications. The demos are written in ASP.NET which means Read More...
I often get questions like How do I learn .net debugging? What books should I read? Where can I find more information? I know everyones learning style is different so this might not be the best way for you, but the way I try to learn things is by "teaching". Read More...
One of my colleagues has started a blog that is worth reading if you like this blog. His name is Tom and he is also an Escalation Engineer in the ASP.NET team but not only that, he is also one of the developers of sos.dll. Read his blog here: http://blogs.msdn.com/tom/ Read More...
More Posts Next page »
 
Page view tracker