-
Notifications
You must be signed in to change notification settings - Fork 282
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: avoid blocking or activating the BP predictor when unnecessary
Previously, we always waited on the breakpoint predictor unless it was explicitly disabled. This was unnecessary in two cases: - If we were able to set an instrumentation breakpoint, this was redundant since we use that to ensure breakpoints get set before scripts run. - We used it even if the source in question was already loaded. This is, while _technically_ useful if a source was present in multiple scripts (e.g. present in multiple webpack bundles), usually not practically necessary, as we do still set the breakpoint if/when that script is parsed. Fixes microsoft/vscode#153470
- Loading branch information
1 parent
ec4063b
commit 2be395a
Showing
4 changed files
with
33 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters