tags:

views:

10

answers:

0

I am hoping to use jdb to debug android apps in the emulator via the ddms go between.

I have successfully set a breakpoint in my class' onCreate and the debugger (jdb) duly breaks. However if I try to "list" the code it says it can not find the source file. I start jdb like this from emacs :-

jdb -sourcepath="~/programming/android/projects/myproj/src/net/richardriley/myproj" -attach localhost:8700

and I know for a fact that myact.java is there in that directory. I am a jdb newbie but isnt sourcepath the way to deal with this? And if not what should I be doing?