Closed Bug 852597 Opened 11 years ago Closed 11 years ago

Hard to debug webapps in jimdb

Categories

(Firefox for Android Graveyard :: JimDB, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kats, Assigned: jchen)

Details

If I start a webapp (e.g. twitter) it shows in "adb shell ps" as:

u0_a72    11036 160   1047568 114832 ffffffff 00000000 S org.mozilla.fennec_kats:org.mozilla.fennec_kats.WebApp0

However jimdb will still attach to org.mozilla.fennec_kats by default. I didn't see any easy way to make it attach to the webapp process instead; I had to basically hack feninit.py's _getPackageName function to return "org.mozilla.fennec_kats:org.mozilla.fennec_kats.WebApp0" as a hard-coded value for it to work.
Thanks for filing the bug! I've been wanting to fix this too, for a Gingerbread web app crash that I've been seeing.
Assignee: nobody → nchen
Status: NEW → ASSIGNED
OS: Mac OS X → Android
Hardware: x86 → ARM
Just pushed web app support. Now it asks you which package name to use when a web app is running.

https://github.com/darchons/android-gdbutils/commit/40bc2db29e2086034c77527c34a956ffecb8ffa3
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.