Advertisement

printing debug information to the debug/watch windows

Started by March 07, 2000 06:44 AM
1 comment, last by Kosh 24 years, 9 months ago
hi everyone, well, I would like to know how I can get msgs from my code into the debug window, I have heard that this is possible. I would like to know how you do this. Since it would be a good thing to be able to do (think being able to time a function and print it to the debug or watch windows ?) if anyone knows how, please tell
if understanding it made and born with time, then time, is understandings greatest enemy.....
OutputDebugString ("This is a debugging message\n");

Remember the \n ''cos the output if buffered.

Advertisement
Try this:

void WINAPI DbgOutString(LPCTSTR psz);

============================
Daniel Netz, Sentinel Design

"I'm not stupid, I'm from Sweden" - Unknown
============================Daniel Netz, Sentinel Design"I'm not stupid, I'm from Sweden" - Unknown

This topic is closed to new replies.

Advertisement