Author Topic: New memeber - CB debugger seems to not work  (Read 2284 times)

Offline eightbits2015

  • Single posting newcomer
  • *
  • Posts: 8
New memeber - CB debugger seems to not work
« 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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: New memeber - CB debugger seems to not work
« Reply #1 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?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7589
    • My Best Post
Re: New memeber - CB debugger seems to not work
« Reply #2 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

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline eightbits2015

  • Single posting newcomer
  • *
  • Posts: 8
Re: New memeber - CB debugger seems to not work
« Reply #3 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.