nifty visual studio 2005 feature

A coworker just ran across this awesome feature in a book so I thought I’d share it.

How many times have you recompiled an app just to get some debug/trace information spit out?   In VS 2005 you can have a breakpoint write information to the output window as if you compiled in Debug.WriteLine statements.  Just set a Breakpoint, right click on it and select When Hit.  In the dialog you can configure what gets printed out.





%d bloggers like this: