User forums > Using Code::Blocks

Debugging cursor disappearing

(1/5) > >>

Léa Massiot:
Hello and thank you for reading my post,

My question is about debugging my program from inside Code::Blocks (using "gdb").
When I start debugging and after a few successful steps, the debugging cursor disappears and I have to press the F7 key dozens of times before it reappears.

Nota 1: It happens when I call a method from a library which source code I do not have.
Nota 2: I am using the "-g" option to build my project but maybe this is not enough... ?

Can you help me?
Best regards,
--
Léa

oBFusCATed:
If you're not using the debugger's branch nightly, please try it. Then if the behaviour is the same, we will dig deeper what is the problem.

Please next time you post about a problem, mention in your post the OS/C::B version/Compiler/Debugger version.
Without them we could hardly help you sometimes.

Léa Massiot:
@oBFusCATed : Thank you for your answer.

OS: Debian GNU/Linux 6.0.3 (squeeze)
C::B version: 10.05
Compiler version: GNU GCC Compiler
Debugger version: GNU GDB


--- Quote ---If you're not using the debugger's branch nightly, please try it.
--- End quote ---
I've never done this before. Can you provide some more details/instructions?

I have a given instruction which requires seventeen F7 key presses before I can go to the next instruction (line).

Best regards,
--
Léa

oBFusCATed:
Here is the info how to install the latest nightly build version: http://forums.codeblocks.org/index.php/topic,15440.msg103649.html#msg103649

BTW: Sometimes we are interested in the version numbers, too, GCC and GDB have 20 years of history as projects.

Léa Massiot:
OS: Debian GNU/Linux 6.0.3 (squeeze)
C::B version: 10.05
Compiler version (> gcc --version): gcc (Debian 4.4.5-8) 4.4.5
Debugger version (> gdb --version): GNU gdb (GDB) 7.0.1-debian

Navigation

[0] Message Index

[#] Next page

Go to full version