Setting breakpoint shows (cf. image). When hitting the debug button, the gdb title shows in the debug window, but nothing else ever happens. You can hit any of the other buttons. No activity. All buttons are enabled.
The stop button works. The continue button show "continue in the debug window, but it does not in fact continue.
I don't know what else you may want/need. Just ask...
Be kind. I'm not an experienced mcUser. :?
image
----------------------------------------------------------------
http://img487.imageshack.us/img487/1548/graphic518200680235pm9cm.png
Debugger window
------------------------------------------------------------------
Building to ensure sources are up-to-date
Build succeeded
Selecting target: default
Adding source dir: /Volumes/Seagate/MAC/temp/minimal/
Adding source dir: /Volumes/Seagate/MAC/temp/minimal/
Adding file: minimal
Starting debugger: done
Invalid debugger script: 'gdb_types.script'
Setting breakpoints
Debugger name and version: GNU gdb 5.3-20030128 (Apple version gdb-330.1) (Fri Jul 16 21:42:28 GMT 2004)
Continuing...
Continuing...
Continuing...
Continuing...
Code::Blocks Debug window
----------------------------------------------------------------------
[19:22:51.467]: Initialize EditColorSet .....
[19:22:51.669]: Loading lexer_rc.xml
[19:22:51.730]: Loading lexer_python.xml
[19:22:51.785]: Loading lexer_prg.xml
[19:22:51.825]: Loading lexer_nsis.xml
[19:22:51.887]: Loading lexer_matlab.xml
[19:22:51.947]: Loading lexer_masm.xml
[19:22:52.000]: Loading lexer_lua.xml
[19:22:52.040]: Loading lexer_hitasm.xml
[19:22:52.087]: Loading lexer_gm.xml
[19:22:52.130]: Loading lexer_glsl.xml
[19:22:52.189]: Loading lexer_f77.xml
[19:22:52.240]: Loading lexer_diff.xml
[19:22:52.276]: Loading lexer_d.xml
[19:22:52.320]: Loading lexer_css.xml
[19:22:52.370]: Loading lexer_cpp.xml
[19:22:52.425]: Loading lexer_cg.xml
[19:22:52.493]: Loading lexer_batch.xml
[19:22:52.537]: Loading lexer_angelscript.xml
[19:22:52.590]: Loading lexer_OgreMaterial.xml
[19:22:52.651]: Loading lexer_OgreCompositor.xml
[19:22:52.701]: Loading lexer_xml.xml
[19:22:52.889]: Initialize EditColorSet: done.
[19:22:54.168]: Loading toolbar...
[19:22:56.254]: AStylePlugin: loaded
[19:22:56.810]: Wizard: loaded
[19:22:57.597]: PluginWizard: loaded
[19:22:58.389]: FilesExtensionHandler: loaded
[19:22:59.665]: Debugger: loaded
[19:23:01.153]: Added compiler "GNU GCC Compiler"
[19:23:01.191]: Added compiler "Intel C/C++ Compiler"
[19:23:01.286]: Added compiler "SDCC Compiler"
[19:23:01.315]: Added compiler "GNU GDC Compiler"
[19:23:01.354]: Compiler: loaded
[19:23:02.353]: Concurrent threads for pool set to 1
[19:23:03.636]: CodeCompletion: loaded
[19:23:04.596]: ClassWizard: loaded
[19:23:05.938]: ToDoList: loaded
[19:23:06.073]: Files extension handler plugin loaded
[19:23:11.483]: Debugger plugin loaded
[19:23:13.279]: Compiler plugin loaded
[19:23:14.927]: Loading workspace "/Users/pecan/.codeblocks/default.workspace"
[19:23:14.979]: File does not exist.
[19:23:15.015]: Initializing plugins...
[19:23:31.054]: Loading project file...
[19:23:31.119]: Parsing project file...
[19:23:31.177]: Loading target default
[19:23:31.217]: Loading project files...
[19:23:31.283]: 1 files loaded
[19:23:31.325]: Done loading project in 271ms
[19:23:31.368]: Project's base path: /Volumes/Seagate/MAC/temp/minimal/
[19:23:31.413]: Project's common toplevel path: /Volumes/Seagate/MAC/temp/minimal/
[19:23:31.880]: project data set for /Volumes/Seagate/MAC/temp/minimal/minimal.cpp
[19:23:31.976]: Top Editor: /Volumes/Seagate/MAC/temp/minimal/minimal.cpp
[19:24:28.130]: Removed minimal from all deps
[19:24:33.897]: Loading project file...
[19:24:33.947]: Parsing project file...
[19:24:34.033]: Loading target default
[19:24:34.082]: Loading project files...
[19:24:34.134]: 1 files loaded
[19:24:34.183]: Done loading project in 286ms
[19:24:34.237]: Project's base path: /Volumes/Seagate/MAC/temp/minimal/
[19:24:34.292]: Project's common toplevel path: /Volumes/Seagate/MAC/temp/minimal/
[19:24:34.628]: project data set for /Volumes/Seagate/MAC/temp/minimal/minimal.cpp
[19:24:34.734]: Top Editor: /Volumes/Seagate/MAC/temp/minimal/minimal.cpp
[19:24:57.016]: Scanned 0 files for #includes, cache used 0, cache updated 0
[19:24:57.534]: Scanned 0 files for #includes, cache used 0, cache updated 0
[19:24:57.621]: Scanned 0 files for #includes, cache used 0, cache updated 0
[19:24:57.699]: Scanned 0 files for #includes, cache used 0, cache updated 0
[19:25:16.592]: Scanned 0 files for #includes, cache used 0, cache updated 0
[19:25:16.671]: Scanned 0 files for #includes, cache used 0, cache updated 0
[19:25:16.740]: Scanned 0 files for #includes, cache used 0, cache updated 0
[19:25:16.841]: Scanned 0 files for #includes, cache used 0, cache updated 0
[19:26:04.782]: Scanned 0 files for #includes, cache used 0, cache updated 0
[19:26:04.884]: Scanned 0 files for #includes, cache used 0, cache updated 0
[19:26:05.011]: Scanned 0 files for #includes, cache used 1, cache updated 0
[19:26:05.104]: Scanned 0 files for #includes, cache used 0, cache updated 0
[19:26:05.191]: Scanned 0 files for #includes, cache used 0, cache updated 0
[19:26:05.279]: Scanned 0 files for #includes, cache used 0, cache updated 0
[19:26:05.369]: Scanned 0 files for #includes, cache used 0, cache updated 0
command line gdb 5.3
---------------------------------------------------------------------------
iMacG3:~/devel/mac/temp/minimal pecan$ ls
minimal minimal.cbp minimal.cpp minimal.depend minimal.layout
iMacG3:~/devel/mac/temp/minimal pecan$ gdb minimal
GNU gdb 5.3-20030128 (Apple version gdb-330.1) (Fri Jul 16 21:42:28 GMT 2004)
Copyright 2003 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 "powerpc-apple-darwin".
Reading symbols for shared libraries .. done
(gdb) l
1 #include <iostream>
2
3 int main()
4 {
5 int i = 0;
6 if (i==0) printf("Hello world");
7 std::cout << "Hello world!" << std::endl;
8 system("pause");
9 return 0;
10 }
(gdb) b 7
Breakpoint 1 at 0x2d84: file minimal.cpp, line 7.
(gdb) run
Starting program: /Volumes/Seagate/MAC/temp/minimal/minimal
Reading symbols for shared libraries . done
Breakpoint 1, main () at minimal.cpp:7
7 std::cout << "Hello world!" << std::endl;
(gdb) n
Hello worldHello world!
8 system("pause");
(gdb) n
sh: line 1: pause: command not found
9 return 0;
(gdb) n
10 }
(gdb) n
Program exited normally.
(gdb)
command line compiled (hacked) gdb 6.3 (apple gdb 434)
---------------------------------------------------------------
iMacG3:~/devel/mac/proj/gdb-434/src/gdb pecan$ ./gdb /users/pecan/devel/mac/temp/minimal/minimal
GNU gdb 2004-03-03-cvs (Thu May 18 21:10:29 GMT 2006)
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 "--host=powerpc-apple-darwin7.9.0 --target="...Reading symbols for shared libraries .. done
Setting up the environment for debugging gdb.
Function "internal_error" not defined.
Function "info_command" not defined.
.gdbinit:8: Error in sourced command file:
No breakpoint number 0.
(gdb) l
1 #include <iostream>
2
3 int main()
4 {
5 int i = 0;
6 if (i==0) printf("Hello world");
7 std::cout << "Hello world!" << std::endl;
8 system("pause");
9 return 0;
10 }
(gdb) b 7
Breakpoint 1 at 0x2d84: file minimal.cpp, line 7.
(gdb) run
Starting program: /volumes/Seagate/MAC/temp/minimal/minimal
Breakpoint 1, main () at minimal.cpp:7
7 std::cout << "Hello world!" << std::endl;
(gdb) n
Hello worldHello world!
8 system("pause");
(gdb) n
sh: line 1: pause: command not found
9 return 0;
(gdb) n
10 }
(gdb) n
Program exited normally.
(gdb) q