News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

no stop on breakpoints

Started by alexo, May 25, 2013, 04:06:09 PM

Previous topic - Next topic

alexo

hello guys,

I can't stop the execution on breakpoints when C::B runs debugger.
Here is the output of the debugging log:

Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: /home/alessandro/ProgC/Test only/
Adding source dir: /home/alessandro/ProgC/Test only/
Adding file: /home/alessandro/ProgC/Test only/bin/Debug/Test only
Changing directory to: "/home/alessandro/ProgC/Test only/."
Set variable: LD_LIBRARY_PATH=.:
Starting debugger: /usr/bin/gdb -nx -fullname  -quiet  -args "/home/alessandro/ProgC/Test only/bin/Debug/Test only"
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb (GDB) 7.4.1-debian
Error in re-setting breakpoint 2: Function "/home/alessandro/ProgC/Test only/main.cpp:55" not defined.
[Inferior 1 (process 3864) exited normally]
Debugger finished with status 0

as I read on a related post the -s option is off, but still no stopping results.
any suggestion?

BlueHazzard

can you post some code?

PS. try to non use spaces in your file or folder structure . Spaces in paths are always bad ;)

Jenna

As first give the necessary information, especially OS (and version) and version of C::B and compiler.

And the full commandline, please.

alexo

The command line is like this:

g++ -Wall -fexceptions  -g     -c "/home/alessandro/ProgC/jagged array/main.cpp" -o obj/Debug/main.o
g++  -o "bin/Debug/jagged array" obj/Debug/main.o

version of Code::Blocks:
12.11.1
build:
Nov 30 2012

compiler gcc version number:
4.7.3

debugger: gdb
7.4.1

OS:
Debian Linux 7.0 [Wheezy] 32 Bit



alexo

Quote from: BlueHazzard on May 25, 2013, 08:19:33 PM
can you post some code?

PS. try to non use spaces in your file or folder structure . Spaces in paths are always bad ;)

In Code::Blocks 10.05 spaces have never been a problem.
Nor it seems they  are in 12.11