User forums > Help

Debugging error

<< < (2/4) > >>

oBFusCATed:
1. This is not the log from the debugger, but the compiler
2. Start a terminal and run gdb your_app, then put breakpoints and see if the problem is the same.
3. Yes, it seems there are no optimizations.

thanhbuu:
http://www.flickr.com/photos/50914177@N02/7692625838/in/photostream
Sorry but as in the picture in the given link but no it didn't show anything :(

oBFusCATed:
Cannot compute...

Jenna:

--- Quote from: thanhbuu on August 01, 2012, 08:12:39 pm ---http://www.flickr.com/photos/50914177@N02/7692625838/in/photostream
Sorry but as in the picture in the given link but no it didn't show anything :(

--- End quote ---
Why do you expect C::B's debug log to show anything, if you run gdb from commandline ?

The picture in your first post shows the Debugger's log and it shows clearly some output there.

And don't forget to check the option "Full (Debug) Log" in the debugger settings.

thanhbuu:
Fortunately, when I look around, I changed to "printf("%d\n", u)", it works. But printf("%d', u) it doesn't work. Maybe this is the whole problem. Could you explain me or how to fix it? Thank you!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version