• Advertisement

Archived

This topic is now archived and is closed to further replies.

printing debug information to the debug/watch windows

This topic is 6561 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
OutputDebugString ("This is a debugging message\n");

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

Share this post


Link to post
Share on other sites
Try this:

void WINAPI DbgOutString(LPCTSTR psz);

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

"I'm not stupid, I'm from Sweden" - Unknown

Share this post


Link to post
Share on other sites

  • Advertisement