User forums > Help

Debugging error

(1/4) > >>

thanhbuu:
http://www.flickr.com/photos/50914177@N02/7684695908/in/photostream
As you can see in the picture in the link. I have run to line 44, it must output number in line 43 but I can't see it, I think it is because the error above: "warning: GDB: Failed to set controlling terminal: Operation not permitted".
I have searched google for this error but I found there is no topic can solve this :( Could somebody help me with this problem?
Your help is appreciated !!! Thank you!

oBFusCATed:
Read this please: http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks

Also keep in mind that the warning is quite harmless, it is something else causing you problems.

thanhbuu:
Thanks for replying,
I'm still stuck with this problem. I just have installed ubuntu on my system and then codeblocks is the first one I installed on ubuntu so I think your "something else" is not possible :( Can you suggest more solution, thank you!

oBFusCATed:
How can I give you sollution without the log from the debugger?
Does it work from the command line?
Are you sure you have not optimizations or the stripping options enabled?

thanhbuu:
1. Here is the best I can do. Is it the log file that you want or can you show me how to do it?

--- Code: ----------------- Clean: Debug in CodeBlocks_U (compiler: GNU GCC Compiler)---------------
-------------- Build: Debug in CodeBlocks_U (compiler: GNU GCC Compiler)---------------
g++ -Wall -g -fexceptions  -g     -c /media/DATA1/CodeBlocks_U/PTREE.cpp -o obj/Debug/PTREE.o
g++  -o bin/Debug/CodeBlocks_U obj/Debug/PTREE.o    
Output size is 54.40 KB
Process terminated with status 0 (0 minutes, 0 seconds)
0 errors, 0 warnings (0 minutes, 0 seconds)
-------------- Build: Debug in CodeBlocks_U (compiler: GNU GCC Compiler)---------------
Target is up to date.
Nothing to be done (all items are up-to-date).

--- End code ---

2. I don't understand what you mean. Do you mean this? http://wiki.codeblocks.org/index.php?title=Code::Blocks_command_line_arguments If yes then it also warned the same and didn't show anything.
3. I'm sure about this.

Navigation

[0] Message Index

[#] Next page

Go to full version