12-08-2012 11:34 AM
hello,
I am using momentics and adding breakpoints, when i debug the app with breakpoints not skipped the app just stops running on a blank screen. All breakpoint releated menu items are shaded out like suspend, step into, resume.
If i just skip breakpoints the app loads and runs fine but even if i unselect skip breakpoints once the app is running the app will just stop running with no option to resume or breakpoint line being shown to me.
So breakpoints arent working for me and I have spent hours trying to find out why - please any help on this?
Thank you.
12-11-2012 08:49 AM - edited 12-11-2012 08:49 AM
I have found further information regarding this no breakpoint problem, its proving impossible to finish my project without them.
692,921 2-gdb-set breakpoint pending on
692,937 2^done
692,937 (gdb)
692,937 3source .gdbinit
692,953 &"source .gdbinit\n"
692,953 &".gdbinit: No such file or directory.\n"
692,953 3^error,msg=".gdbinit: No such file or directory."
Anybody know what this means and what I can do about it please?
Thanks.
12-11-2012 09:33 AM
In your Project settings you have 'read .gdbinit at start' configured but you don't actually have .gdbinit file. It is totally ok you can ignore it.
12-11-2012 09:48 AM
so that wouldnt be the cause of breakpoints arrow and breakpoint options not being shown/availble when a breakoint is hit - very last output in gdb log is..
088,781 (gdb)
089,984 *stopped,reason="breakpoint-hit",disp="del",bkptno
args=[{name="argc",value="3"},{name="argv",value="
ndk-2.1.0-workspace\\MyProject\\Device-Debug/..\\s
hreads="all"
089,984 (gdb)
I just have no way to continue on once the breakpoint is hit - i have tried delete the debug configuration for my device and readding it. Still persists.
12-11-2012 10:12 AM
I am not sure I understand what you are saying. But I know if breakpoint is hit then all this options (Step etc) are availbable.
12-11-2012 10:16 AM
That's the problem all breakpoints options (and f8 does nothing) are shaded out when it's paused on first breakpoint (at start) or any breakpoint. Thats the output (earleir post) when it does this (pauses) but I can only get past it by reloading app and skipping all breakpoints - breakpointsjust stopped working for me a week or two ago.
12-11-2012 10:56 AM
Try sample app, do breakpoints work there?
12-11-2012 11:04 AM
GoodCitizen sample does the same things - stops on breakpoint but way to continue - breakpoint options shaded out.
12-11-2012 11:05 AM
Then something is wrong with your install.
Download brand new Gold NDK which was released today and good luck with debugging!