Reputation: 7947
I am attempting to debug a signed apk running on a real device... and when I say debug, I mean do things like add breakpoints and single step - I don't just mean view the log output.
Looking at other similar questions it appears that I need to display the DDMS view and then somehow attach the debugger to the process, but I am confused for two reasons.
I can not see a list of processes under my real device (though I do see a list of processes if I start up an emulator). [this bit now solved - see comments]
even if I did have the list of running processes running, how could I set a breakpoint in the source before actually running the app? How could eclipse possibly even know what source corresponds to the apk??
I guess I'm missing something here? Is there a blog article or similar that could guide me through the whole process?
For the record my device is already configured to allow USB debugging and I do see log messages from my signed-apk-app.
Upvotes: 1
Views: 1198
Reputation: 47975
With the comments I figgered out that you are trying to debug in-app purchase code. For that you don't need to use the real certificate. You could also use the debug certificate. So register the debug certificate and use that debug api key.
So you can debug the app as you already know it.
Upvotes: 1