ArchLinux x86_64, 32Gb RAM
C::B 12.11
wxWidgets 2.8.12
In my project build options options, -g is checked, -s is unchecked.
I have also checked the setting under the "Settings->Compiler" to make sure -s is not checked and -g is.
No optimizations at all are checked in any location. I have also removed the "-" from the project directory name, and restarted C::B, rebuild all, with no changes in behaviour.
I am sure it's something entirely stupid....but I have only recently moved to C::B from an Embarcadero product so I am not that familiar with it (yet).
The program operates fine. But as I add logic under the hood...I am going to need the debugger working......
With respect, I've read and followed the wiki's that others with similar problems and were pointed to. My config and settings appear to be correct.
Help will be greatly appreciated.
Sincerely and respectfully,
Dave
//--------------------------------
Here is the full output of the debugger:
Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: /home/dcbdbis/RamDisk/workspace/CodeBlocks-Projects/BicycleGearingCalculator/
Adding source dir: /home/dcbdbis/RamDisk/workspace/CodeBlocks-Projects/BicycleGearingCalculator/
Adding file: /home/dcbdbis/RamDisk/workspace/CodeBlocks-Projects/BicycleGearingCalculator/bin/Debug/BicycleGearingCalculator
Changing directory to: /home/dcbdbis/RamDisk/workspace/CodeBlocks-Projects/BicycleGearingCalculator/.
Set variable: LD_LIBRARY_PATH=.:
[debug]Command-line: /usr/bin/gdb -nx -fullname -quiet -args /home/dcbdbis/RamDisk/workspace/CodeBlocks-Projects/BicycleGearingCalculator/bin/Debug/BicycleGearingCalculator
[debug]Working dir : /home/dcbdbis/RamDisk/workspace/CodeBlocks-Projects/BicycleGearingCalculator
Starting debugger: /usr/bin/gdb -nx -fullname -quiet -args /home/dcbdbis/RamDisk/workspace/CodeBlocks-Projects/BicycleGearingCalculator/bin/Debug/BicycleGearingCalculator
done
[debug]Reading symbols from /home/dcbdbis/RamDisk/workspace/CodeBlocks-Projects/BicycleGearingCalculator/bin/Debug/BicycleGearingCalculator...
[debug]done.
[debug](gdb)
[debug]> set prompt >>>>>>cb_gdb:
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
[debug]>>>>>>cb_gdb:
[debug]> show version
[debug]GNU gdb (GDB) 7.6.1
[debug]Copyright (C) 2013 Free Software Foundation, Inc.
[debug]License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
[debug]This is free software: you are free to change and redistribute it.
[debug]There is NO WARRANTY, to the extent permitted by law. Type "show copying"
[debug]and "show warranty" for details.
[debug]This GDB was configured as "x86_64-unknown-linux-gnu".
[debug]For bug reporting instructions, please see:
[debug]<http://www.gnu.org/software/gdb/bugs/>.
[debug]>>>>>>cb_gdb:
[debug]> set confirm off
Debugger name and version: GNU gdb (GDB) 7.6.1
[debug]>>>>>>cb_gdb:
[debug]> set width 0
[debug]>>>>>>cb_gdb:
[debug]> set height 0
[debug]>>>>>>cb_gdb:
[debug]> set breakpoint pending on
[debug]>>>>>>cb_gdb:
[debug]> set print asm-demangle on
[debug]>>>>>>cb_gdb:
[debug]> set unwindonsignal on
[debug]>>>>>>cb_gdb:
[debug]> set print elements 0
[debug]>>>>>>cb_gdb:
[debug]> set disassembly-flavor intel
[debug]>>>>>>cb_gdb:
[debug]> catch throw
[debug]Function "__cxa_throw" not defined.
[debug]Catchpoint 1 (throw)
[debug]>>>>>>cb_gdb:
[debug]> source /usr/share/codeblocks/scripts/stl-views-1.0.3.gdb
[debug]>>>>>>cb_gdb:
[debug]> directory /home/dcbdbis/RamDisk/workspace/CodeBlocks-Projects/BicycleGearingCalculator/
[debug]Source directories searched: /home/dcbdbis/RamDisk/workspace/CodeBlocks-Projects/BicycleGearingCalculator:$cdir:$cwd
[debug]>>>>>>cb_gdb:
[debug]> break "/home/dcbdbis/RamDisk/workspace/CodeBlocks-Projects/BicycleGearingCalculator/BicycleGearingCalculatorMain.cpp:340"
[debug]Breakpoint 2 at 0x41404f: file /home/dcbdbis/RamDisk/workspace/CodeBlocks-Projects/BicycleGearingCalculator/BicycleGearingCalculatorMain.cpp, line 340.
[debug]>>>>>>cb_gdb:
[debug]> break "/home/dcbdbis/RamDisk/workspace/CodeBlocks-Projects/BicycleGearingCalculator/BicycleGearingCalculatorMain.cpp:338"
[debug]Note: breakpoint 2 also set at pc 0x41404f.
[debug]Breakpoint 3 at 0x41404f: file /home/dcbdbis/RamDisk/workspace/CodeBlocks-Projects/BicycleGearingCalculator/BicycleGearingCalculatorMain.cpp, line 338.
[debug]>>>>>>cb_gdb:
[debug]> break "/home/dcbdbis/RamDisk/workspace/CodeBlocks-Projects/BicycleGearingCalculator/BicycleGearingCalculatorMain.cpp:341"
[debug]Breakpoint 4 at 0x414060: file /home/dcbdbis/RamDisk/workspace/CodeBlocks-Projects/BicycleGearingCalculator/BicycleGearingCalculatorMain.cpp, line 341.
[debug]>>>>>>cb_gdb:
[debug]> run
[debug]Starting program: /home/dcbdbis/RamDisk/workspace/CodeBlocks-Projects/BicycleGearingCalculator/bin/Debug/BicycleGearingCalculator
[debug](BicycleGearingCalculator:2494): Gtk-WARNING **: Error parsing gtk-icon-sizes string:
[debug] 'panel-menu=24,24
[debug]panel=20,20
[debug]gtk-button=18,18
[debug]gtk-large-toolbar=24,24'
[debug]During startup program exited normally.
[debug]>>>>>>cb_gdb:
During startup program exited normally.
[debug]> quit
Debugger finished with status 0