Jump to content
  • Advertisement

Archived

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

a2k

Debugging Questions

This topic is 6542 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

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

Share this post


Link to post
Share on other sites
Advertisement
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

Share this post


Link to post
Share on other sites
cow in the well: is it fast? (i used the opengl raster text, and it sucks)

a2k

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!