WinDBG Tutorial – Part 3

Just short piece of information about Remote Debugging. Remote Debugging actually means connecting the debugger on one computer to a process on another computer. Typical scenario: PC 1 has a program that needs to be debugged. PC 2 does the debugging.   Advantages: –          PC 1 might not have symbols and sources for debugging (e.g….

0

WinDBG Tutorial – Part 2

Items covered   –          Stack overflow –          Stack trace (k) –          Frame inspection (.frame n) Code used   For this exercise, we will work with the following test program (Win32 C++ console project): #include “stdafx.h”     int pow(int,int);   int _tmain(int argc, _TCHAR* argv[]) {       int a = 2;       int p =…

2

WinDBG Tutorial – Part 1

Items covered   –          Attaching to process –          Inspecting local variables (dv, ??) –          Inspecting last error (.lastevent) –          Evaluating parameters (x) –          Setting value (e)   Code used   For this introductory test, we will work with the following test program (Win32 C++ console project): #include “stdafx.h”     int _tmain(int argc, _TCHAR* argv[])…

0

WinDBG tutorial – Introduction

Learning Windows Debugging is a rather tedious job not necessarily due to the lack of documentation, but rather due to the lack of an “Idiots’ guide to” WinDBG. The following series of tutorials have as target the average noob in Windows Debugging. This obviously does not translate to “bad programming skills”- or “what is a function”-…

0