Please enable full logging in the settings of the debugger and paste the log from the GUI session.
Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: /Users/phil/Desktop/guessing/
Adding source dir: /Users/phil/Desktop/guessing/
Adding file: /Users/phil/Desktop/guessing/bin/Debug/guessing
Changing directory to: /Users/phil/Desktop/guessing/.
Set variable: DYLD_LIBRARY_PATH=.:
[debug]Command-line: /usr/bin/gdb -nx -fullname -quiet -args /Users/phil/Desktop/guessing/bin/Debug/guessing
[debug]Working dir : /Users/phil/Desktop/guessing
Starting debugger: /usr/bin/gdb -nx -fullname -quiet -args /Users/phil/Desktop/guessing/bin/Debug/guessing
done
[debug]> set prompt >>>>>>cb_gdb:
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
[debug]Reading symbols for shared libraries ... done
[debug](gdb) >>>>>>cb_gdb:
[debug]> show version
[debug]GNU gdb 6.3.50-20050815 (Apple version gdb-1752) (Sat Jan 28 03:02:46 UTC 2012)
[debug]Copyright 2004 Free Software Foundation, Inc.
[debug]GDB is free software, covered by the GNU General Public License, and you are
[debug]welcome to change it and/or distribute copies of it under certain conditions.
[debug]Type "show copying" to see the conditions.
[debug]There is absolutely no warranty for GDB. Type "show warranty" for details.
[debug]This GDB was configured as "x86_64-apple-darwin".
[debug]>>>>>>cb_gdb:
[debug]> set confirm off
Debugger name and version: GNU gdb 6.3.50-20050815 (Apple version gdb-1752) (Sat Jan 28 03:02:46 UTC 2012)
[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]>>>>>>cb_gdb:
[debug]> source /Applications/CodeBlocks.app/Contents/Resources/share/codeblocks/scripts/stl-views-1.0.3.gdb
[debug]>>>>>>cb_gdb:
[debug]> directory /Users/phil/Desktop/guessing/
[debug]>>>>>>cb_gdb:
[debug]> break "/Users/phil/Desktop/guessing/main.cpp:10"
[debug]Breakpoint 1 at 0x100000b74: file main.cpp, line 11.
[debug]>>>>>>cb_gdb:
[debug]> run
[debug]Reading symbols for shared libraries ++......................... done
[debug]Catchpoint 2 (throw)
[debug]Breakpoint 1, main () at main.cpp:11
[debug]/Users/phil/Desktop/guessing/main.cpp:11:197:beg:0x100000b74
[debug]>>>>>>cb_gdb:
At /Users/phil/Desktop/guessing/main.cpp:11
Oh, you're using gdb 6.3 this is tremendously old. Update to a 7.xx somehow if possible. Or use command line gdb to see what is going wrong.
Probably some regexp is not match, but I have no way to debug this.
Can you run codeblocks with the -v option?
p.s. please use code or quote tags to surround long pastes.
The version of gdb is tied to Xcode (Apples development suite which comes with g++, gdb, etc.) Poking around the internet people have difficulties updating individual components. I could try to get a newer version of gdb but it would take a bit of work.
I can runcode blocks with -v. What should I be looking for? On startup, with -v, I get this the following error in a window:
CodeBlocks Error:
Invalid regular expression: '(([a-zA-Z]:)?.*?):([0-9]*):([0-9]*):(middle|beg):(.*)': quantifier operand invalid
Running gdb from the command line:
gdb Desktop/guessing/bin/Debug/guessing
GNU gdb 6.3.50-20050815 (Apple version gdb-1752) (Sat Jan 28 03:02:46 UTC 2012)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...
Reading symbols for shared libraries ... done
(gdb) break
No default breakpoint address now.
(gdb) break main.cpp:9
Breakpoint 1 at 0x100000b74: file main.cpp, line 11.
(gdb) run
Starting program: /Users/phil/Desktop/guessing/bin/Debug/guessing
Reading symbols for shared libraries ++......................... done
Breakpoint 1, main () at main.cpp:11
11 bool isGuessed = false; // Did they get it right yet?
(gdb) print isGuessed
$1 = false