I tried to debug with eclipse during my game was running (breakpoints, stack list etc), I followed the steps as this link:
http://www.eclipse.org/sequoyah/documentation/native\_debug.php But I always get error, it seems it try to connect 5039 at localhost, as I understanding, gdb should connect devices 5039.
WARNING: no debugging symbols found in /Users/zhenxiaohui/Workspace_Game/Xiyou/FightWest_Public/proj.android/obj/local/armeabi/app_process.
Either the binary was compiled without debugging information
or the debugging information was removed (e.g., with strip or strip -g).
Debugger capabilities will be very limited.
For further information: http://wiki/Main/GdbFaq\#No\_debugging\_symbols\_found>
101-gdb-set confirm off
102-gdb-set width 0
103-gdb-set height 0
104-interpreter-exec console echo
106-gdb-set auto-solib-add on
107-gdb-set stop-on-solib-events 0
108-gdb-set stop-on-solib-events 1
109-target-select remote localhost:5039
109\^error,msg=“localhost:5039: Operation timedout.”
BTW, I could run ndkgdb.sh at this path \$PROJECT/proj.android and gdb debug is working.
Can anybody give me some advices?