User forums > Using Code::Blocks

Debug in a separate window?

<< < (4/5) > >>

Keeper:
I'm getting this:
warning: GDB: Failed to set controlling terminal: Operation not permitted

Also, is it possible to set the path to the executable?  it needs to be run from a different directory than the codebase.  I have tried several things, but I seem to be missing it.

Thanks!
Keeper

oBFusCATed:
1. The warning is emitted by gdb and it is not a problem.
2. You can set the working directory in Project -> Properties -> Build options -> Working dir or something like that.

Keeper:
Well, I tried to run GDB just on it's own outside of codeblocks and it seems it doesn't work.   I get the "Cannot find new threads: generic error" error.

Oh well.

Thanks for the help!

oBFusCATed:
This seems like a very popular gdb problem, use your favorite search engine to find solutions for it.

Keeper:
Well I tried just GDB on my lenny distro and it worked.  Must be some kind of issue with the newest Ubuntu.

I'm going to reload my lenny and see if I can get it to work there.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version