Tuesday, October 21, 2008

Another cool debugging tip…

In that same thread I mentioned earlier, Jeremy Lakeman provided the following as an alternative means of logging out information. Sure beats a bunch of MessageBoxes.

"One trick we've used for extra optional debugging info is to have a function called f_log(string) that calls the win32 api OutputDebugString. Then you can run DebugView when you want to see the output.

No comments: