Last Comment Bug 572247 - don't load libraries on android until launch button is clicked
: don't load libraries on android until launch button is clicked
Status: RESOLVED WORKSFORME
:
Product: Core
Classification: Components
Component: Widget: Android (show other bugs)
: unspecified
: ARM Android
: -- normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-15 17:16 PDT by Brad Lassey [:blassey] (use needinfo?)
Modified: 2015-04-05 18:39 PDT (History)
3 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
patch (3.09 KB, patch)
2010-06-15 17:16 PDT, Brad Lassey [:blassey] (use needinfo?)
no flags Details | Diff | Splinter Review
Unbitrotted patch (1.92 KB, patch)
2011-01-24 14:32 PST, Mike Hommey [:glandium]
no flags Details | Diff | Splinter Review
Slightly more useful version (2.75 KB, patch)
2011-01-27 07:11 PST, Mike Hommey [:glandium]
no flags Details | Diff | Splinter Review
Unbitrotted (3.08 KB, patch)
2011-06-03 00:46 PDT, Mike Hommey [:glandium]
no flags Details | Diff | Splinter Review

Description Brad Lassey [:blassey] (use needinfo?) 2010-06-15 17:16:45 PDT
Created attachment 451432 [details] [diff] [review]
patch

sometimes you need to debug something that happens on start up and can't attach quickly enough if you load the libraries right away
Comment 1 Michael Wu [:mwu] 2010-06-15 19:24:02 PDT
Hmm, the only thing is that it becomes tougher to set breakpoints at start time without the actual libraries loaded.
Comment 2 Michael Wu [:mwu] 2010-06-24 11:20:20 PDT
Comment on attachment 451432 [details] [diff] [review]
patch

I usually like having libraries loaded when using the debug intent, but I use the debug intent so rarely that it doesn't matter much to me.
Comment 3 Brad Lassey [:blassey] (use needinfo?) 2010-06-24 11:26:07 PDT
we could add another button to load the libraries before you attach
Comment 4 Mike Hommey [:glandium] 2011-01-24 14:32:00 PST
Created attachment 506533 [details] [diff] [review]
Unbitrotted patch
Comment 5 Mike Hommey [:glandium] 2011-01-27 07:11:56 PST
Created attachment 507451 [details] [diff] [review]
Slightly more useful version

This loads libmozutils before the launch button is displayed, which allows to insert breakpoints in the dynamic linker.
Comment 6 Mike Hommey [:glandium] 2011-06-03 00:46:16 PDT
Created attachment 537098 [details] [diff] [review]
Unbitrotted
Comment 7 Kartikaya Gupta (email:kats@mozilla.com) 2015-04-05 18:39:08 PDT
With jimdb the debugging situation is pretty good for fennec now.

Note You need to log in before you can comment on or make changes to this bug.