Author Topic: gdb stopped at iostream...  (Read 3160 times)

Offline mpupro

  • Single posting newcomer
  • *
  • Posts: 3
gdb stopped at iostream...
« 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

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: gdb stopped at iostream...
« Reply #1 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".

Offline mpupro

  • Single posting newcomer
  • *
  • Posts: 3
Re: gdb stopped at iostream...
« Reply #2 on: January 17, 2009, 10:05:24 am »
Yes, it works, thank you.