Closed
Bug 989234
Opened 10 years ago
Closed 9 years ago
[Tarako] Enable remote debug directly with APP Manager when USB plug-in.
Categories
(Firefox OS Graveyard :: Developer Tools, defect)
Firefox OS Graveyard
Developer Tools
Tracking
(blocking-b2g:-)
RESOLVED
DUPLICATE
of bug 900500
blocking-b2g | - |
People
(Reporter: sku, Assigned: yang.zhao)
Details
Attachments
(3 files)
80.41 KB,
image/png
|
Details | |
875 bytes,
patch
|
Details | Diff | Splinter Review | |
611 bytes,
patch
|
Details | Diff | Splinter Review |
Regarding monkey test, tarako hit device hang issue. Partner would like to use APP Manager to do remote debugging. However, there is no any response on screen touching. There is no way for developer to click OK, then starting debugging. Could we simply send "RemoteDebugger._dispatchEvent(true);" if App Manager try to connect to device, but not showing confirmation dialog (see attachment)?
Reporter | ||
Comment 1•10 years ago
|
||
Hi Fabrice: Could you please have a look of this request? Thanks!! Shawn
Flags: needinfo?(fabrice)
Comment 2•10 years ago
|
||
No we can't do that unconditionally. That would need to be behind a pref at least because there are security implications doing that.
Flags: needinfo?(fabrice)
Comment 3•10 years ago
|
||
(In reply to Fabrice Desré [:fabrice] from comment #2) > No we can't do that unconditionally. That would need to be behind a pref at > least because there are security implications doing that. Please give me a WIP patch for engineer debug only.
blocking-b2g: --- → 1.3T?
Flags: needinfo?(fabrice)
Comment 4•10 years ago
|
||
James, untested patch, but that should work if you set the preference in your device specific pref file!
Flags: needinfo?(fabrice)
Comment 5•10 years ago
|
||
Yang, please test and land this WIP patch on userdebug build.
Flags: needinfo?(yang.zhao)
(In reply to Fabrice Desré [:fabrice] from comment #4) > Created attachment 8398884 [details] [diff] [review] > bypass-dbg-prompt.patch > > James, untested patch, but that should work if you set the preference in > your device specific pref file! I applied this patch ,it doesn't work.And I find that there is no "debugger.bypass_prompt" in /data/b2g/mozilla/*.default/prefs.js So I'm trying to change it with devtools.debugger.remote-enabled to see whether it is ok.
Flags: needinfo?(yang.zhao)
Comment 8•10 years ago
|
||
Shawn, can we move this patch to device/sprd? I can use userdebug/user value to configure.
Comment 9•10 years ago
|
||
(In reply to James Zhang from comment #8) > Shawn, can we move this patch to device/sprd? I can use userdebug/user value > to configure. Yep, that's what I recommended in comment 4
Comment 10•10 years ago
|
||
triage: this is not blocking for commercial release since yang.zhao is working on this, assign to yang.zhao and mark POVB Thanks
Assignee: nobody → yang.zhao
blocking-b2g: 1.3T? → -
Whiteboard: [POVB]
Updated•10 years ago
|
Whiteboard: [POVB]
Component: General → Developer Tools
Comment 11•9 years ago
|
||
If you still need a way to bypass the remote debugging prompt, I suggest you set the pref "devtools.debugger.prompt-connection" to false. This was implemented in bug 900500 and should work with Firefox OS 1.2 and later versions. Please re-open this bug if you find that your problem was not resolved.
Status: NEW → RESOLVED
Closed: 9 years ago
OS: Linux → All
Hardware: x86_64 → All
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•