WinDbg: Breakpoints @ all exported functions.

Oflate I was held up in a situation where I needed to insert breakpoints @ all exported functions(Over 100 of them) in a dll. The idea was to obtain the sequence of the calls made to the dll. WinDbg gives quite an impressive way to do this ...

bm [dll_name]!* "g"

bm -> multiple breakpoints
!* -> all exported functions
g -> the debugee doesn;t break at each breakpoint!

Thanks to Sumit...

0 comments: