Author Topic: Code::Blocks doesn't recognize that the debugger is stopped  (Read 3059 times)

Offline Calmarius

  • Multiple posting newcomer
  • *
  • Posts: 32
Code::Blocks doesn't recognize that the debugger is stopped
« on: November 30, 2015, 08:40:34 am »
I'm working on 64 bit Ubuntu, and I'm using C::B 13.12

The gdb -v output is:

GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>.


If I set a breakpoint, the program stops but the IDE still thinks it's running and not giving me call stack or anything. Also no way to continue the program since the IDE thinks it's running.

When an assert fail occurs and the program gets SIGABRT, the IDE just exits the debugger and does not show lines or call stack.

The project was created by the "Empty project" wizard.

Something is really screwed up... Any ideas...

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Code::Blocks doesn't recognize that the debugger is stopped
« Reply #1 on: November 30, 2015, 08:47:35 am »
Can you enable the full log of the debugger and post it here for inspection?
(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 Calmarius

  • Multiple posting newcomer
  • *
  • Posts: 32
Re: Code::Blocks doesn't recognize that the debugger is stopped
« Reply #2 on: December 04, 2015, 10:07:14 pm »
Later I discovered that this weird behavior is caused by the fact that I updated my compiler to gcc 4.81 which uses a differrent format for debug symbols which is not recognized correctly by gdb, while you can set breakpoints on lines, it doesn't show line, when the gdb stops. So I needed to update gdb too. Now it works.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Code::Blocks doesn't recognize that the debugger is stopped
« Reply #3 on: December 05, 2015, 02:27:31 am »
Good to know it is working now.  8)
(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!]