Closed Bug 747429 Opened 13 years ago Closed 13 years ago

Make it possible to start a remote debugger only in a new chrome window

Categories

(DevTools :: Debugger, defect)

12 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 15

People

(Reporter: vporof, Assigned: vporof)

References

Details

Attachments

(2 files, 4 obsolete files)

New process would make sense only for chrome debugging. In all other cases, a new window is nicer for tons of reasons.
Should this bug also include a debuggee/tab selection UI in this bug?
(In reply to Dave Camp (:dcamp) from comment #1) > Should this bug also include a debuggee/tab selection UI in this bug? Why should it? We could just say "One debugger per tab. You pop it in a new window, it's the same debugger for the same debuggee. Want to debug another tab? Open a new debugger".
I misremembered this bug as being for general remote fennec/b2g debugging - I need to specify how to connect to the phone I intend to debug, and which of its debuggees I'm interested in. I guess we could just always debug the currently-visible tab, but we do still need some way to specify the debuggee to connect to.
(In reply to Dave Camp (:dcamp) from comment #3) > I misremembered this bug as being for general remote fennec/b2g debugging - > I need to specify how to connect to the phone I intend to debug, and which > of its debuggees I'm interested in. > > I guess we could just always debug the currently-visible tab, but we do > still need some way to specify the debuggee to connect to. Filed bug 748927 for this.
Note: we shouldn't be able to open a remote debugger in a new firefox instance. A simple new window should suffice.
Summary: Make it possible to start a debugger in a new chrome window → Make it possible to start a remote debugger only in a new chrome window
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Attached patch v1 (obsolete) — Splinter Review
WIP
Depends on: 749222
Attached patch v2 (obsolete) — Splinter Review
Works!
Attachment #619008 - Attachment is obsolete: true
Attachment #619050 - Flags: review?(past)
Comment on attachment 619050 [details] [diff] [review] v2 I herd Rob has free time on his hands.
Attachment #619050 - Flags: review?(past) → review?(rcampbell)
Blocks: 748927
(In reply to Victor Porof from comment #8) > Comment on attachment 619050 [details] [diff] [review] > v2 > > I herd Rob has free time on his hands. hey, thanks, buddy. I'll get right on this.
Attached patch v2+x (obsolete) — Splinter Review
augh
Attached patch v2+xxSplinter Review
Small changes, typos.
Attachment #619050 - Attachment is obsolete: true
Attachment #619125 - Attachment is obsolete: true
Attachment #619050 - Flags: review?(rcampbell)
Attachment #619281 - Flags: review?(rcampbell)
Comment on attachment 619281 [details] [diff] [review] v2+xx + * Creates and initializes the widgets containing the remote debugger UI. + */ + _create: function DP__create() { I think in this method you should explicitly remove the toolbar's close button. It doesn't really make sense to have it there when in an external window. Also, it doesn't work. Patch looks good, tests pass on my machine. R+ with the above change.
Attachment #619281 - Flags: review?(rcampbell) → review+
(In reply to Rob Campbell [:rc] (:robcee) from comment #12) > Comment on attachment 619281 [details] [diff] [review] > v2+xx > > + * Creates and initializes the widgets containing the remote debugger UI. > + */ > + _create: function DP__create() { > > I think in this method you should explicitly remove the toolbar's close > button. It doesn't really make sense to have it there when in an external > window. Also, it doesn't work. > > Patch looks good, tests pass on my machine. > > R+ with the above change. Well not really in that method, it needs to be in the content js, not the jsm, because that's just a simple iframe wrapper. Also, I guess this applies in the chrome debugging case as well, right?
Attached patch v3 (obsolete) — Splinter Review
Made the change.
Attached patch v3.1Splinter Review
Rebased.
Attachment #620771 - Attachment is obsolete: true
Whiteboard: [land-in-fx-team]
Whiteboard: [land-in-fx-team] → [fixed-in-fx-team]
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 15
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: