OutputDebugString

Hello,

I’m currently trying to find out a good way to debug unity apps. I can place breakpoints and all with mono develop, I can output warnings, messages and errors in the editor, I can read a file that my app has written to after the app has run, but…

Is there a way that I can output regular debug messages like OutputDebugString in C++ or System.Diagnostics.Debug.WriteLine in C#? I’d love to have DebugView running when I’m running an app (not in the editor) so I can see the messages immediately instead of checking a log file.

http://www.ennanzus-interactive.com/developer/DebugConsole/

–Eric

That’s just perfect! Thanks.

That link is no longer working, so wondering about the original question. How do you get OutputDebugString() (via DllImport) or System.Diagnostics.Debug to show up in the Visual Studio output window?

I’ve got the same question.