Author Topic: Debugger does not return when running double-threaded program  (Read 2174 times)

toniow

  • Guest
Debugger does not return when running double-threaded program
« on: January 12, 2011, 06:30:10 pm »
Hi all,

being a Code::Blocks newbie (and already a fan!) I have a problem that probably will be easy to solve:
When I try to debug a client/server-application (C++) that starts a server (2nd thread) and sends messages to it, and then stop the debugger, only the main process is killed but not the server thread. The debugger does only return if I kill the process by hand ("kill -15 PID"). Does anyone have an idea what ?

My configuration :
Code::Blocks v. 10.05
Running on Linux Ubuntu v. 10.04
Compiler : g++ 4.4.3 (-g flag is set, -s is not set)
Debugger : gdb 7.1

Thanks in advance!