Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: eightbits2015 on December 20, 2015, 12:15:27 am

Title: New memeber - CB debugger seems to not work
Post by: eightbits2015 on December 20, 2015, 12:15:27 am
Hello, I recently installed CB 13.12 on Ubuntu 15.04 desktop. I also purchased the book "Beginning Programming with C++" , a recent "Dummies"
publications. I downloaded the books online  files to support the book. Everything looks OK until I tried to follow (Chapter 20) the section on using
the CB debugger.
I opened the project, set the test breakpoint and the selected the Debug to start (step into).
The code display shows the code and the breakpoint icon (stop sign) and then opens up a terminal window that displays one line:
                                                    “warning: GDB: Failed to set controlling terminal: Operation not permitted” .

I have attached a file with the screen captures and explanation(s).
 So, I have no idea of how to approach this issue and I am hoping someone can point me in the right direction.
Title: Re: New memeber - CB debugger seems to not work
Post by: oBFusCATed on December 20, 2015, 12:33:28 am
Start by ignoring the warning. It is not related to your problem.
The go read this page http://wiki.codeblocks.org/index.php/Debugging_with_Code::Blocks
If you still have problems you'll have to explain them with more details or even paste the log from the debugger.

p.s. how am I supposed to open the attachment?
Title: Re: New memeber - CB debugger seems to not work
Post by: stahta01 on December 20, 2015, 12:34:56 am
Read this CB Thread on same subject. I do NOT use the debugger enough to know if it answers your question or not.
http://forums.codeblocks.org/index.php?topic=19148.0 (http://forums.codeblocks.org/index.php?topic=19148.0)

Tim S.
Title: Re: New memeber - CB debugger seems to not work
Post by: eightbits2015 on December 20, 2015, 01:30:16 am
Sorry about the attachment. It was generated using as a ODT (LibreOffice Writer  word file. As I had inserted a couple of screen shots. When I went to attach I saw I could not attach an odt type file. I thought if I changed it to one of the listed file extensions it would work  :-[

But it seems I am still unable to actually go into the debug mode. I wll read the suggested links and see if I can get to work.