Closed
Bug 1054967
Opened 11 years ago
Closed 11 years ago
ADB helper addon breaks parallel ADB sessions
Categories
(DevTools Graveyard :: WebIDE, defect)
DevTools Graveyard
WebIDE
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: janx, Assigned: jryans)
References
Details
Attachments
(1 file)
When using WebIDE with the ADB helper addon, previously open ADB sessions get closed. This is annoying for developers who are watching `adb logcat` while using the WebIDE.
Comment 1•11 years ago
|
||
(In reply to Jan Keromnes [:janx] from comment #0)
> When using WebIDE with the ADB helper addon, previously open ADB sessions
> get closed. This is annoying for developers who are watching `adb logcat`
> while using the WebIDE.
It's not only about logcat, but I may have one device connected to debug an app and another flashing gecko/gaia for instance.
Comment 2•11 years ago
|
||
adb helper addon shouldn't mess up with existing adb instances in first place!
And that's what the addon is meant to do.
We have a module for checking already running adb instances.
I'm wondering if it is just about this too strict version checking test over here:
https://github.com/mozilla/adbhelper/blob/master/adb-running-checker.js#L43
We should accept any somewhat recent version and not only just one arbitrary one!
| Assignee | ||
Updated•11 years ago
|
Blocks: gaia-devtools
| Assignee | ||
Comment 3•11 years ago
|
||
Can you be more specific about when you notice the external ADB session is terminated?
In a few quick tests, I saw a logcat session get terminated on close of Firefox, but it remained open otherwise.
Is that what you see, or are there other issues?
Flags: needinfo?(janx)
| Reporter | ||
Updated•11 years ago
|
Flags: needinfo?(janx) → needinfo?(lissyx+mozillians)
Comment 4•11 years ago
|
||
(In reply to J. Ryan Stinnett [:jryans] from comment #3)
> Can you be more specific about when you notice the external ADB session is
> terminated?
>
> In a few quick tests, I saw a logcat session get terminated on close of
> Firefox, but it remained open otherwise.
>
> Is that what you see, or are there other issues?
I saw parallel logcat getting killed when starting/stopping Firefox.
Flags: needinfo?(lissyx+mozillians)
| Assignee | ||
Comment 5•11 years ago
|
||
This change allows ADB to stay alive for me, assuming the server was alive before Firefox was started.
Test builds:
https://ftp.mozilla.org/pub/mozilla.org/labs/fxos-simulator/adb-helper/prerelease/
Jan, does this fix the issue for you?
Assignee: nobody → jryans
Status: NEW → ASSIGNED
Attachment #8486643 -
Flags: review?(poirot.alex)
Flags: needinfo?(janx)
| Reporter | ||
Comment 6•11 years ago
|
||
Thanks for the fix! Forwarding to Alexandre who originally complained about this.
Flags: needinfo?(janx) → needinfo?(lissyx+mozillians)
Updated•11 years ago
|
Attachment #8486643 -
Flags: review?(poirot.alex) → review+
| Assignee | ||
Comment 8•11 years ago
|
||
Merged: https://github.com/mozilla/adbhelper/commit/ddd88d02d1baa273700c64509b76bb033b91de38
Released as 0.5.2.
If you installed the test build, it should receive a proper update to the released one (or at least it did for me).
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•