Under the hood with live debugging

The team i belong to (Portugal Adcs) has a blog called Deviations (http://blogs.msdn.com/deviations) and from time to time i will post some stuff over there (when that happens i will put a link here). My latest post there was about live debugging using Windbg and you can check it out at http://blogs.msdn.com/deviations/archive/2009/03/18/under-the-hood-with-live-debugging.aspx Have fun Bruno


Debug Jscript with Internet Explorer 8

My team has started a blog. Since we all have different skills, it will be more generalist and there you can get information on MOSS, Biztalk, Troubleshooting, Dev, Silverlight and other stuff. Every time I post there I will put here a link to the post (I will talk mostly about troubleshooting). My first post…

1

Windbg: Using .shell to search text

To me one of the most useful commands when using windbg is .shell. According to Debugging Tools For Windows documentation “The .shell command launches a shell process and redirects its output to the debugger, or to a specified file.” So, why would I find that interesting and useful in my day to day work to…

1

Windbg: Get image loaded in memory

I´m starting a new section called Tips with the goal of showing commands that are very useful when doing memory dump analysis. The first one is on how to get a image loaded into memory to file. When i´m looking at a managed memory dump almost always there is the need to look inside the…


SOS/PSSCOR & .effmach

Recently in one of our internal forums there was this thread around debugging different architectures (IA64, AMD64,x86) and the right environment to analyze the memory dump.   If you have a IA64 memory dump then you will have to use a IA64 architecture to analyze the memory dump. If you have a 64 bit process…


Switch to the right context (COM+ Fault)

If you are dealing with a memory dump (unmanaged) a very fast way to get an initial look is to use DebugDiag Analysis. It will provide you a nice report and it might help you. Sometimes in DebugDiag reports you will see a rebuilt stack trace like the one below (COM+)   Thread 16 -…

62

OutOfMemory & CompiledAssembly

Problems seem to occur in batches. Last week the hot topic was OutOfMemory exceptions. I got a memory dump that a customer took around the time they were getting OutOfMemory exceptions. I asked them to collect some performance counters so that we could figure out what this leak was all about. The performance counters we…


Biztalk Server 2004 – Mixed Dll loading problem

Sometime ago I had to troubleshoot a problem in Biztalk Server 2004. I was told that Biztalk Server 2004 apparently stopped working and the only way to get it back on track would be to restart the instances and we didn´t had errors reported. After that everything would run smoothly. The worst part was that…

8