Breakpoints in Windbg

WinDbg rocks. 🙂 Setting breakpoints is very easy in WinDbg. The command to set a breakpoint is ‘bp’. So if you want to break whenever a dll is loaded into a process then type in following command… [sourcecode language=”cpp”]bp kernel32!LoadLibraryW[/sourcecode] So to trigger this breakpoint attach ‘notepad.exe’ to the debugger and then type in this command. Now let the app run […]
Continue reading…

 

Run to cursor feature in Visual Studio

This is one cool feature of Visual Studio which I very much like, the shortcut for this feature makes life even more easy. 🙂 So what does this feature do? Imagine we’re are stuck in a heavy duty for loop and you want to immediately break after the for loop but don’t want to traverse through the entire for loop […]
Continue reading…