User forums > Help
Debugging breaks on breakpoint but resumes after a few seconds
ingarpedersen:
Hi,
I'm trying to debug a multithreaded application, and the debugger reaches a breakpoint and breaks. Then, without any interaction, the debugger suddenly resumes (I can see the output in the terminal window), but there is no output from the debugger in the Debugger windows in CB about continuing or similar. The delay from breaking until it resumes by itself is 3-10 seconds.
I'm running CodeBlocks 13.12 on Raspian, gdb is 7.7.1.
I have tried adding the "set scheduler-locking on" command to the gdb commands, but nothing changes.
After my first breakpoint I have another breakpoint a few lines further down in the code, but when it resumes by itself the other breakpoint is ignored even though there is no other code path.
Any ideas about what is going on here??
Thanks,
Ingar
oBFusCATed:
Can you post a full log from the debugger?
What happens if you try the same thing, but using command line gdb?
ingarpedersen:
How do I get a full log from the debugger when using CB?
I'm not very faimilar with command line gdb, but I'll give it a try...
Thanks,
Ingar
BlueHazzard:
Settings->Debugger->Common->Enable Full (debug) log
and then copy and paste the text from the Debugger log tab at the bottom. Please use code tags (# symbol in the forum editor) to post the log, because it is a lot text).
Thank you!
sohorab.sajib:
Hi,
I am new user. My IDE codeblocks 16.01
I want to save time for typing.
like this
"
#include<stdio.h>
int main()
{
return 0;
}
"
this show me when I open a new empty file(ctrl+shift+n).
Navigation
[0] Message Index
[#] Next page
Go to full version