User forums > Using Code::Blocks
iostream keeps appearing in debugger
oBFusCATed:
It seems you're using really old mingw release.
Can you please try to use one a bit newer?
GCC 3.4.x is really old these days, there are GCC 4.7, 4.8, 4.9 and even 5.1 that should work a bit better.
papagym:
I'm new here too, so this may not solve your problem.
I think you need to set the debugger on the first line of code you want to start the debug on, (But I don't know how to set the start point in Codeblocks) and use break points after that. So I would think it needs to start on the line after (int main () ) or later. That may be why your seeing the #include <iostream>
Good Luck
BlueHazzard:
--- Quote ---I constantly pressed the 'step into' button when the debugger is working. It constantly hops from my code to iostream code. The only way around it is if i press the'step into' button to debug a liine of my code and then press 'step out of' when it tries to debug the iostream code.
--- End quote ---
his problem is clearly that he is stepping "into" the iostram code... He has to use step over (aka "next line" ) or set a break point on every line and use continue....
if i step into a function a will land into that function....
greetings
Navigation
[0] Message Index
[*] Previous page
Go to full version