Quick Tips: using debugger scripts to your advantage – .shell

Hi, After debugging for quite some time, and looking almost every day at memory dumps you start to think “I really need a command to this, to do that,…” in order to easy on some of the repetitive work and allow you to more quickly focus on the issue itself. I find debuggers scripts to…

0

Quick tips: Is there any exception out there ?

Hello, Let me start by clarifying that this only applies to x86. The reason for this is that on x86 the first field on a CONTEXT (more info at http://msdn.microsoft.com/en-us/library/ms679284 ) structure is a flag with the value 0x1003f.   More often than I desire I get memory dumps (in hang mode) when an exception…

0

Quick tips: Getting detailed info on modules and setting breakpoints on .net

Hello, Sometimes i have to do live debugging in order to understand what’s going on inside a process. Usually when this happens i need to set breakpoints on specific methods. Let’s say that I what to set a specific breakpoint on a method inside Microsoft.Sharepoint.dll (this is just an example, the same applies to every…

0

Quick tips: Kernel Dumps, Blue Screens and !Analyze -v

Hello, This time I’m going to address something that most times is somewhat straight forward to analyze yet many people I deal with don´t know how to proceed when a blue screen appears. In this blog post I assume the server is already configured to generate kernel dumps or mini dumps. (this is something I…

0

Quick tips: How to easily identify a thread in a thread object

Hello, It´s been a while since my last post. I´ve decided to start a new topic regarding debugging posts. It´s called quick tips debugging code and here is my first post on the series. Sometimes while debugging an issue I have to related different threads. (E.g: on a thread there is a reference to another…

0