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…

 

Breakpoints in Visual Studio

What’s a breakpoint? A breakpoint is defined as the location where a debugger breaks execution to allow the user to have a look or to modify the execution context. What’s new with breakpoints? With visual studio 2005 and 2008 behavior of breakpoint has changed. Some features that were added are as follows… Know hit count […]
Continue reading…