What are the differences between OllyDbg and WinDbg?
Asked Answered
A

2

7

My simple understanding is OllyDbg is a user mode debugger, which you could use to debug "normal" apps. WinDbg is a kernel mode debugger, which you could use to debug itself.

Is that right?

Amatory answered 28/1, 2011 at 10:7 Comment(0)
C
6

WinDbg is a kernel mode debugger developed by Microsoft which can be used to debug Operating System itself on which it is running. Technically, it means it can debug kernel code which is privileged code running in Ring 0.

OllyDbg is a user mode debugger which is capable of debugging only user mode executables such as Exe.

Note that Windbg is a powerful debugger which encompasses the functionality of Ollydbg as well. However, its a command line debugger which beginners find it difficult to dealt with in beginning. Ollydbg is a GUI debugger much similar to Visual Studio debuggers.

Cribwork answered 28/1, 2011 at 10:10 Comment(0)
P
5

WinDbg is a GUI debugger which can be used to debug both kernel-mode and usermode programs. It subsumes the functionality of the command-line debuggers, kd (kernel) and ntsd (user). Windbg can be used for live debugging of local usermode processes and remote debugging of kernel and usermode. It can also debug crashdumps after the fact.

Pentavalent answered 29/1, 2011 at 8:56 Comment(1)
WinDbg is only "GUI" in that it's not a console process, it uses windows and has a menu. However, it is by and large a command-driven debugger that prints text - which is an important distinction, especially for beginners. Not that it makes it less powerful, just harder to learn.Franklynfrankness

© 2022 - 2024 — McMap. All rights reserved.