Why is debug output disabled on Windows?

Discuss topics related to development here.
Post Reply
User avatar
numanoid
Posts: 3
Joined: Wed Apr 01, 2015 7:03 pm

Why is debug output disabled on Windows?

Post by numanoid » Thu Feb 18, 2016 8:20 am

Just out of curiosity, "show_console()" is commented out without explanation in "print_command_line_usage()" and it was somewhat irritating for me when I first tried to launch cen64 and it wouldn't execute without any indication of what went wrong (already figured that out though).

Of course enabling this would only print something in case of unsufficient arguments but for general debug output the according functions (show/hide_console) could just be moved to WinMain instead?

Also instead of system("PAUSE") you could just call getchar() (though I guess it doesnt really matter in this case).

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest