New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to log output from C to the VS command line? #125
Comments
printf() should work |
Thanks for replying! So, I tried adding a Am I looking in the wrong place? Is my |
Yeah, sometimes printf() doesn't work (especially in GUI Apps) :(. There's also another Windows specific function called OutputDebugString() http://stackoverflow.com/questions/3009042/how-to-view-printf-output-in-a-win32-application-on-visual-studio-2010 EDIT: Well it appears we can't use printf because OpenRCT2 is a DLL and not an EXE. http://forums.codeguru.com/showthread.php?399253-Console-Outputting-via-printf-from-DLL OutputDebugString() works (for me at least..) |
Thanks! I updated the wiki. Kevin Burke On Tue, May 20, 2014 at 11:06 PM, atmaxinger notifications@github.comwrote:
|
What is the best way to add print statements and get them to display in Visual Studio? For when you don't necessarily want to set a breakpoint, but do want to inspect some values. Let me know and I'll add it to the wiki.
The text was updated successfully, but these errors were encountered: