Cannot break when using remote debugger

General questions regarding the usage of CodeLite
ryand
CodeLite Curious
Posts: 1
Joined: Tue May 24, 2011 9:12 pm
Genuine User: Yes
IDE Question: C++
Contact:

Cannot break when using remote debugger

Post by ryand » Wed May 25, 2011 12:35 am

When connecting to a remote process with GDB, I am unable to pause execution. I can successfully attach to a remote process and see the call stack when it is initially suspended. However once I resume execution, I am not longer able to to pause. Here is my debug log:

Code: Select all

Using gdbinit file: C:\Users\netx\AppData\Local\Temp\codelite_gdbinit.txt
Current working dir: C:\Users\netx\Documents\Server Source\Main\V200
Launching gdb from : ./Debug
Starting debugger  : C:\MinGW\bin\gdb.exe --command="C:\Users\netx\AppData\Local\Temp\codelite_gdbinit.txt" --interpreter=mi ""
DEBUG>>set  new-console on
DEBUG>>set unwindonsignal on
DEBUG>>set width 0
DEBUG>>set height 0
DEBUG>>set print elements 200
DEBUG>>directory `C:\Users\netx\Documents\Server Source\v200`
DEBUG>>symbol-file f:/rad/winmed_r200
Debug session started successfully!
DEBUG>>00000003target remote 10.80.3.1:55555 
DEBUG>>~"GNU gdb 6.3\n"
GNU gdb 6.3
DEBUG>>~"Copyright 2004 Free Software Foundation, Inc.\n"
Copyright 2004 Free Software Foundation, Inc.
DEBUG>>~"GDB is free software, covered by the GNU General Public License, and you are\n"
GDB is free software, covered by the GNU General Public License, and you are
DEBUG>>~"welcome to change it and/or distribute copies of it under certain conditions.\n"
welcome to change it and/or distribute copies of it under certain conditions.
DEBUG>>~"Type \"show copying\" to see the conditions.\n"
Type "show copying" to see the conditions.
DEBUG>>~"There is absolutely no warranty for GDB.  Type \"show warranty\" for details.\n"
There is absolutely no warranty for GDB.  Type "show warranty" for details.
DEBUG>>~"This GDB was configured as \"i686-pc-mingw32\"..."
This GDB was configured as "i686-pc-mingw32"...
DEBUG>>&": No such file or directory.\n"
DEBUG>>~"\n"

DEBUG>>&"set  new-console on\n"
DEBUG>>^done
DEBUG>>&"set unwindonsignal on\n"
DEBUG>>^done
DEBUG>>&"set width 0\n"
DEBUG>>^done
DEBUG>>&"set height 0\n"
DEBUG>>^done
DEBUG>>&"set print elements 200\n"
DEBUG>>^done
DEBUG>>&"directory `C:\\Users\\netx\\Documents\\Server Source\\v200`\n"
DEBUG>>&"Warning: C:\\Users\\netx\\Documents\\Server Source\\Main\\V200/`C:\\Users\\netx\\Documents\\Server: No such file or directory.\n"
DEBUG>>&"Warning: C:\\Users\\netx\\Documents\\Server Source\\Main\\V200/Source\\v200`: No such file or directory.\n"
DEBUG>>^done
DEBUG>>&"symbol-file f:/rad/winmed_r200\n"
DEBUG>>^done
DEBUG>>&"target remote 10.80.3.1:55555\n"
DEBUG>>00000003^done,thread-id="0",frame={addr="0x0b703d5a",func="poll",args=[]}
Successfully connected to debugger server
Applying breakpoints...
Applying breakpoints... done
DEBUG>>00000004-exec-continue
DEBUG>>00000004^running
Continuing...
DEBUG>>00000004*stopped,reason="signal-received",signal-name="SIGSTOP",signal-meaning="Stopped (signal)",thread-id="0",frame={addr="0x0b703d5a",func="poll",args=[]}
DEBUG>>00000005-var-update "*" 
DEBUG>>00000005^done,changelist=[]
DEBUG>>00000006-stack-list-frames
DEBUG>>00000006^done,stack=[frame={level="0",addr="0x0b703d5a",func="poll"},frame={level="1",addr="0x0887b4fe",func="ccs_sock_getch",file="ccssock.c",line="2232"},frame={level="2",addr="0x0823034b",func="getch",file="/usr2/rad/src/csrc/v200/crewin.c",line="4338"},frame={level="3",addr="0x08e225f2",func="ccs_getch",file="fkeys.c",line="1632"},frame={level="4",addr="0x08317185",func="ask_str_I",file="askstr.c",line="447"},frame={level="5",addr="0x08318172",func="e_ask_str_I",file="askstr.c",line="936"},frame={level="6",addr="0x081db61f",func="sec_startup_quest",file="/usr2/rad/src/csrc/v200/secfunc.c",line="2465"},frame={level="7",addr="0x081dc75e",func="sec_startup_impl",file="/usr2/rad/src/csrc/v200/secfunc.c",line="2911"},frame={level="8",addr="0x081dbdf5",func="sec_startup",file="/usr2/rad/src/csrc/v200/secfunc.c",line="2724"},frame={level="9",addr="0x095a911e",func="initial_user_login",file="medfunc.c",line="19135"},frame={level="10",addr="0x08049072",func="main",file="/usr2/rad/code/wv200/medentc.c",line="618"}]
DEBUG>>00000007-exec-continue
DEBUG>>00000007^running
Continuing...
Interrupting debugee process: 6356
When I press 'pause', I get it says the following: Interrupting debugee process: 6356. My program does not appear to break, and I am no longer able to do anything. Any suggestions?