hi, all:
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
101^done
(gdb)
102-gdb-set width 0
102^done
(gdb)
103-gdb-set height 0
103^done
(gdb)
104-interpreter-exec console echo
104^done
(gdb)
105-gdb-show prompt
105^done,value=“(gdb)”
(gdb)
106-gdb-set auto-solib-add on
106^done
(gdb)
107-gdb-set stop-on-solib-events 0
107^done
(gdb)
108-gdb-set stop-on-solib-events 1
108^done
(gdb)
109-target-select remote localhost:5039
109^error,msg=“localhost:5039: Operation timedout.”
(gdb)
110-gdb-exit
110^exit
BTW, I could run ndkgdb.sh at this path $PROJECT/proj.android and gdb debug is working.
Can anybody give me some advices?
Much thanks.