Before I ask gemini for tests, WDYT overall?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Before I ask gemini for tests, WDYT overall?
Yeah, lgtm. Is this a regression caused by the UI eng vision migration?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Simon ZündBefore I ask gemini for tests, WDYT overall?
Yeah, lgtm. Is this a regression caused by the UI eng vision migration?
No, this predates the recent changes. I do find it a bit odd that updating the callstack triggers the reveal of the location. Is that working as intended?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Simon ZündBefore I ask gemini for tests, WDYT overall?
Philip PfaffeYeah, lgtm. Is this a regression caused by the UI eng vision migration?
No, this predates the recent changes. I do find it a bit odd that updating the callstack triggers the reveal of the location. Is that working as intended?
Somewhat, the sequence is roughly -> Pause happens -> Paused details are set -> CallStackSidebar pane processes paused details and selects a frame -> location for the top frame is revealed.
Otherwise we might not reveal the paused location (i think).
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Simon ZündBefore I ask gemini for tests, WDYT overall?
Philip PfaffeYeah, lgtm. Is this a regression caused by the UI eng vision migration?
Simon ZündNo, this predates the recent changes. I do find it a bit odd that updating the callstack triggers the reveal of the location. Is that working as intended?
Somewhat, the sequence is roughly -> Pause happens -> Paused details are set -> CallStackSidebar pane processes paused details and selects a frame -> location for the top frame is revealed.
Otherwise we might not reveal the paused location (i think).
During the normal pause process the location is revealed through the panel and not the sidebar. The bug is about location updates for sourcemaps. Sourcemap attaches -> CallStackSidebarPane is updated -> Frame is reselected -> location for frame is revealer.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Simon ZündBefore I ask gemini for tests, WDYT overall?
Philip PfaffeYeah, lgtm. Is this a regression caused by the UI eng vision migration?
Simon ZündNo, this predates the recent changes. I do find it a bit odd that updating the callstack triggers the reveal of the location. Is that working as intended?
Philip PfaffeSomewhat, the sequence is roughly -> Pause happens -> Paused details are set -> CallStackSidebar pane processes paused details and selects a frame -> location for the top frame is revealed.
Otherwise we might not reveal the paused location (i think).
During the normal pause process the location is revealed through the panel and not the sidebar. The bug is about location updates for sourcemaps. Sourcemap attaches -> CallStackSidebarPane is updated -> Frame is reselected -> location for frame is revealer.
Hmm, we might want to keep that though to a certain degree no? Especially if we pause first via `debugger` statement and then later resolve the location. Should we make this also dependent on the setting?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Simon ZündBefore I ask gemini for tests, WDYT overall?
Philip PfaffeYeah, lgtm. Is this a regression caused by the UI eng vision migration?
Simon ZündNo, this predates the recent changes. I do find it a bit odd that updating the callstack triggers the reveal of the location. Is that working as intended?
Philip PfaffeSomewhat, the sequence is roughly -> Pause happens -> Paused details are set -> CallStackSidebar pane processes paused details and selects a frame -> location for the top frame is revealed.
Otherwise we might not reveal the paused location (i think).
Simon ZündDuring the normal pause process the location is revealed through the panel and not the sidebar. The bug is about location updates for sourcemaps. Sourcemap attaches -> CallStackSidebarPane is updated -> Frame is reselected -> location for frame is revealer.
Hmm, we might want to keep that though to a certain degree no? Especially if we pause first via `debugger` statement and then later resolve the location. Should we make this also dependent on the setting?
I don't think that should be setting-dependent. If the sources panel is not visible, switching to it when a sourcemap attaches feels like bad UX?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Simon ZündBefore I ask gemini for tests, WDYT overall?
Philip PfaffeYeah, lgtm. Is this a regression caused by the UI eng vision migration?
Simon ZündNo, this predates the recent changes. I do find it a bit odd that updating the callstack triggers the reveal of the location. Is that working as intended?
Philip PfaffeSomewhat, the sequence is roughly -> Pause happens -> Paused details are set -> CallStackSidebar pane processes paused details and selects a frame -> location for the top frame is revealed.
Otherwise we might not reveal the paused location (i think).
Simon ZündDuring the normal pause process the location is revealed through the panel and not the sidebar. The bug is about location updates for sourcemaps. Sourcemap attaches -> CallStackSidebarPane is updated -> Frame is reselected -> location for frame is revealer.
Philip PfaffeHmm, we might want to keep that though to a certain degree no? Especially if we pause first via `debugger` statement and then later resolve the location. Should we make this also dependent on the setting?
I don't think that should be setting-dependent. If the sources panel is not visible, switching to it when a sourcemap attaches feels like bad UX?
Right, I think we should switch on initial pause, but not subsequently. At least for the same pause.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Simon ZündBefore I ask gemini for tests, WDYT overall?
Philip PfaffeYeah, lgtm. Is this a regression caused by the UI eng vision migration?
Simon ZündNo, this predates the recent changes. I do find it a bit odd that updating the callstack triggers the reveal of the location. Is that working as intended?
Philip PfaffeSomewhat, the sequence is roughly -> Pause happens -> Paused details are set -> CallStackSidebar pane processes paused details and selects a frame -> location for the top frame is revealed.
Otherwise we might not reveal the paused location (i think).
Simon ZündDuring the normal pause process the location is revealed through the panel and not the sidebar. The bug is about location updates for sourcemaps. Sourcemap attaches -> CallStackSidebarPane is updated -> Frame is reselected -> location for frame is revealer.
Philip PfaffeHmm, we might want to keep that though to a certain degree no? Especially if we pause first via `debugger` statement and then later resolve the location. Should we make this also dependent on the setting?
Simon ZündI don't think that should be setting-dependent. If the sources panel is not visible, switching to it when a sourcemap attaches feels like bad UX?
Right, I think we should switch on initial pause, but not subsequently. At least for the same pause.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Simon ZündBefore I ask gemini for tests, WDYT overall?
Philip PfaffeYeah, lgtm. Is this a regression caused by the UI eng vision migration?
Simon ZündNo, this predates the recent changes. I do find it a bit odd that updating the callstack triggers the reveal of the location. Is that working as intended?
Philip PfaffeSomewhat, the sequence is roughly -> Pause happens -> Paused details are set -> CallStackSidebar pane processes paused details and selects a frame -> location for the top frame is revealed.
Otherwise we might not reveal the paused location (i think).
Simon ZündDuring the normal pause process the location is revealed through the panel and not the sidebar. The bug is about location updates for sourcemaps. Sourcemap attaches -> CallStackSidebarPane is updated -> Frame is reselected -> location for frame is revealer.
Philip PfaffeHmm, we might want to keep that though to a certain degree no? Especially if we pause first via `debugger` statement and then later resolve the location. Should we make this also dependent on the setting?
Simon ZündI don't think that should be setting-dependent. If the sources panel is not visible, switching to it when a sourcemap attaches feels like bad UX?
Philip PfaffeRight, I think we should switch on initial pause, but not subsequently. At least for the same pause.
Agreed. That's already controlled by the setting.
Added tests, ptal!
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Avoid switching to the sources panel when attaching sourcemaps
When sourcemaps attach, the call stack gets refreshed and if a frame is
selected, the corresponding UI location gets revealed. This causes some
disruption when a sourcemap attaches late and another panel is currently
open. That's also independent of the "Reveal sources panel on
breakpoints" setting. UI locations updating should never cause a switch
to the sources panel.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |