Author Topic: gdb stops in <iostream> include file  (Read 3172 times)

Offline mkborregaard

  • Multiple posting newcomer
  • *
  • Posts: 25
gdb stops in <iostream> include file
« on: July 09, 2008, 09:33:16 am »
Hi all,
when I try to debug any project, gdb stops dead in the <iostream> include file:
Code
Building to ensure sources are up-to-date
Build succeeded
Selecting target:
Debug
Adding source dir: C:\Documents and Settings\Michael\Desktop\tet\tet\
Adding source dir: C:\Documents and Settings\Michael\Desktop\tet\tet\
Adding file: bin\Debug\tet.exe
Starting debugger:
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb 6.8
Child process PID: 792
At C:/C++/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostream:77
I have tried updating gdb from 6.3 to 6.8, and reinstalling MinGW, which is 5.1.4 and placed as C:\C++\MinGW

Did I forget some important setting?
Thanx

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: gdb stops in <iostream> include file
« Reply #1 on: July 09, 2008, 10:22:05 am »
when I try to debug any project, gdb stops dead in the <iostream> include file:
What happens if you just continue debugging? Or is this really the final thing that happens?!
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline mkborregaard

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: gdb stops in <iostream> include file
« Reply #2 on: July 09, 2008, 11:10:29 am »
If I just press continue, it stops at every #include <iostream> - but I can make it go past there, and it seems I can debug normally afterwards.