Skip to content
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.

Use getPossibleBreakpoints to support column bps, when supported #144

Closed
roblourens opened this issue Jan 2, 2017 · 1 comment
Closed

Comments

@roblourens
Copy link
Member

roblourens commented Jan 2, 2017

https://chromedevtools.github.io/debugger-protocol-viewer/v8/Debugger/#method-getPossibleBreakpoints

I think when a BP is set at column x, need to call getPossibleBPs for line N, from column 0 to column x, and pick the last one.

If the runtime doesn't support that method, need to set the BP at column 0 (pre-sourcemapping)

@auchenberg
Copy link
Contributor

Nicely spotted. This API must be used by Chrome's new inline-breakpoints feature.

@auchenberg auchenberg modified the milestone: Backlog Jan 9, 2017
@auchenberg auchenberg modified the milestone: Backlog Jan 26, 2017
@roblourens roblourens modified the milestones: April 2017, Backlog Apr 17, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants