Advertisement

Debugging Questions

Started by July 20, 2000 09:49 PM
1 comment, last by a2k 24 years, 5 months ago
how do you guys debug your programs? currently, i''m running a console app with GLUT, so that i can check values in the console window by just using cout for whatever values i want to see. but the final game will be in WIN32. is there a way to bring up a console window so i can use my favorite old cout in a windows app? (i''ve been using message boxes and "colorchanging" statements, and it''s a pain the ass to debug realtime values like position, etc.) a2k
------------------General Equation, this is Private Function reporting for duty, sir!a2k
I just blit text onto the screen with values, so they change in real time. (ie. gfxDebugPrintf (100,100, "player pos: %d, %d", player.x, player.y); (that is a function i made btw)).

-----------------------------
-cow_in_the_well

http://cowswell.gda.ods.org/


"If it's stupid but works, it's not stupid" - Murphey's Law

- Thomas Cowellwebsite | journal | engine video

Advertisement
cow in the well: is it fast? (i used the opengl raster text, and it sucks)

a2k
------------------General Equation, this is Private Function reporting for duty, sir!a2k

This topic is closed to new replies.

Advertisement