Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / DBPro: Easy Debug On-Screen Display

Author
Message
Omen
18
Years of Service
User Offline
Joined: 7th Nov 2006
Location: Maple Grove, MN US
Posted: 11th Feb 2007 05:37
I got tired of modifying my debug code everytime I wanted a new statistic displayed, so I made this:




At the top of your main loop put this:



...then anywhere in your code in any module, at any time when you want to see a variable on the screen, just add code like this:

Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 17th Feb 2007 13:38
Nifty

Cheers,

-db


[href]www.tree3d.co.nr[/href] Tree3D Software... Because a 2D tree isnt good enough.

Login to post a reply

Server time is: 2024-11-23 00:11:59
Your offset time is: 2024-11-23 00:11:59