User forums > General (but related to Code::Blocks)

Debugging without a debugger?

(1/2) > >>

Zingam:
How do one debug complex programs without an access to a debugger, especially full-screen graphic applications? Any suggestions, articles or books?

thomas:
I use two displays for that.

As a cheaper alternative, you can of always write info to a log file, or show message boxes, but that is not debugging...

takeshimiya:
Or another way is to write text over the image surfaces.

GLfoat:
Hello Takesi
you have a lot experience in debugging, can you please post a project here where you demonstrate this technic ?
i would be wery interessted in that technique, please help me to learn how to do i so
thanks, thanks a lot,
i look forward to hear from you !!!!

takeshimiya:

--- Quote from: GLfoat on February 24, 2006, 12:18:18 am ---Hello Takesi
you have a lot experience in debugging, can you please post a project here where you demonstrate this technic ?
i would be wery interessted in that technique, please help me to learn how to do i so
thanks, thanks a lot,
i look forward to hear from you !!!!

--- End quote ---

Sorry, what I was suggesting to write text (as textures or whatever) but it would really depend on the graphics system or library you're using.
If you're using a high-level library, most of them includes a printf()-like function for that. If not, you'd have to create it yourself.
If you're using OpenGL directly (as I can guess from your nickname :D), you'd need to use something like this or this.

Navigation

[0] Message Index

[#] Next page

Go to full version