Closed
Bug 915426
Opened 11 years ago
Closed 10 years ago
Breakpoint set in one tab is triggered in another one
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 35
People
(Reporter: till, Assigned: fitzgen)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
15.53 KB,
patch
|
fitzgen
:
review+
|
Details | Diff | Splinter Review |
Jimb tells me that that's caused by all tabs sharing a single BreakpointStore. Anyway, here's the STR: 1. visit http://www.areweflashyet.com/shumway/examples/inspector/inspector.html?rfile=../Box2DFlashAS3/demo.swf 2. open the debugger 3. set a breakpoint in embed.js:21 4. open a second tab 5. open the debugger in the second tab 6. visit the same url in the second tab After this, execution will paus at embed.js:21.
Updated•11 years ago
|
Priority: -- → P3
Assignee | ||
Comment 1•10 years ago
|
||
This seems completely opposite of what is requested in bug 883238. How should we resolve this?
Reporter | ||
Comment 2•10 years ago
|
||
(In reply to Nick Fitzgerald [:fitzgen] from comment #1) > This seems completely opposite of what is requested in bug 883238. How > should we resolve this? Hum, excellent question. One possibility is to do what session restore does: give the option to restore previous state, but don't (or only optionally) do it by default. However, what happens if you don't restore the state and then set different breakpoints in two open sessions? And more generally, regardless of the decision here: how are updates in two open debugging sessions handled? Are they immediately reflected in the UI? I guess they have to be, but right now, they aren't, IINM.
Assignee | ||
Comment 3•10 years ago
|
||
(In reply to Till Schneidereit [:till] from comment #2) > Hum, excellent question. One possibility is to do what session restore does: > give the option to restore previous state, but don't (or only optionally) do > it by default. Not a huge fan of making the user think about this -- it should Just Work, IMO. > However, what happens if you don't restore the state and then set different > breakpoints in two open sessions? > > And more generally, regardless of the decision here: how are updates in two > open debugging sessions handled? Are they immediately reflected in the UI? I > guess they have to be, but right now, they aren't, IINM. Yeah, we should fix this and keep all sessions in sync, IMO.
Comment 4•10 years ago
|
||
Isn't the underlying issue here the same as bug 1010552?
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → nfitzgerald
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•10 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=595336519cc5
Attachment #8496838 -
Flags: review?(ejpbruel)
Updated•10 years ago
|
Blocks: dbg-breakpoint
Summary: Breakpoint set in one tab is triggered in another one with the same code → Breakpoint set in one tab is triggered in another one
Comment 6•10 years ago
|
||
Comment on attachment 8496838 [details] [diff] [review] debugger-data-lifetimes.patch LGTM
Attachment #8496838 -
Flags: review?(ejpbruel) → review+
Assignee | ||
Comment 7•10 years ago
|
||
Uh oh: my new test failed on OSX. 260 INFO TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_breakpoints-reload.js | Test timed out - expected PASS
Assignee | ||
Comment 8•10 years ago
|
||
Requesting longer timeout so that the new test can pass on linux debug. https://tbpl.mozilla.org/?tree=Try&rev=d511377eb24d
Attachment #8496838 -
Attachment is obsolete: true
Attachment #8498188 -
Flags: review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 9•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/d9078f1bbcbe
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
Comment 10•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d9078f1bbcbe
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 35
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•