Code::Blocks Forums

User forums => Help => Topic started by: mpupro on January 16, 2009, 05:00:10 am

Title: gdb stopped at iostream...
Post by: mpupro on January 16, 2009, 05:00:10 am
CB SVN 5382, working with mingw 5.1.4, pressing F4 in debug mode, show this:

Debugger name and version: GNU gdb 6.8 Child process PID: 3952 At C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostream:77

Pressing Ctrl+F7 will display the same message.

CB 8.02 is ok, it runs to cursor directly, why is that?

thanks
Title: Re: gdb stopped at iostream...
Post by: Jenna on January 16, 2009, 07:00:09 am
In the actual versions "catch throw" is set for gdb as default, that means gdb stops whenever an exception is thrown (handled or unhandled).

Try if it works if you uncheck "Settings -> Compiler and debugger... -> Debugger settings -> Catch C++ exceptions".
Title: Re: gdb stopped at iostream...
Post by: mpupro on January 17, 2009, 10:05:24 am
Yes, it works, thank you.