Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Async Breakpoint Manager #550

Merged
merged 8 commits into from
May 6, 2021
Merged

feat: Async Breakpoint Manager #550

merged 8 commits into from
May 6, 2021

Conversation

zobo
Copy link
Contributor

@zobo zobo commented Apr 15, 2021

Handle breakpoints in async manner.
Better support one (VS Code) to many (Xdebug connections).
Handle busy Xdebug connection.

Handle breakpoints in async manner.
Better support one (VS Code) to many (Xdebug connections).
Handle busy Xdebug connection.
@zobo
Copy link
Contributor Author

zobo commented Apr 15, 2021

Fixes #482

@zobo zobo linked an issue Apr 15, 2021 that may be closed by this pull request
@codecov-commenter
Copy link

codecov-commenter commented Apr 28, 2021

Codecov Report

Merging #550 (725bcec) into main (144f333) will increase coverage by 3.42%.
The diff coverage is 92.89%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #550      +/-   ##
==========================================
+ Coverage   66.57%   70.00%   +3.42%     
==========================================
  Files           6        7       +1     
  Lines        1098     1230     +132     
  Branches      172      193      +21     
==========================================
+ Hits          731      861     +130     
- Misses        367      369       +2     
Impacted Files Coverage Δ
src/breakpoints.ts 91.36% <91.36%> (ø)
src/xdebugConnection.ts 85.54% <94.87%> (+1.00%) ⬆️
src/phpDebug.ts 66.74% <100.00%> (-0.40%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 144f333...725bcec. Read the comment docs.

zobo added 3 commits May 4, 2021 16:58
…cy issues by queuing changes to map and processing them later.
* Support for notify, breakpoint_get and feature_get.
* Set resolved_breakpoints and notify_ok feature.
* Handle resolved for line and conditional breakpoints.
* Handle breakpoint_resolved notify.
@zobo zobo changed the base branch from main to next May 6, 2021 09:05
@zobo zobo merged commit dc2f1db into next May 6, 2021
@zobo zobo deleted the feat/async-breakpoints branch May 6, 2021 09:06
zobo added a commit that referenced this pull request May 6, 2021
* feat: Async Breakpoint Manager

Handle breakpoints in async manner.
Better support one (VS Code) to many (Xdebug connections).
Handle busy Xdebug connection.

* docs: Changelog.

* chore: lint

* Update vscode-debugprotocol to 1.47.0 and return Breakpoints on setExceptionBreakPointsRequest.

* Protect BreakpointAdapter process from re-enty. Prevent map concurrency issues by queuing changes to map and processing them later.

* Use the same order of op execution that was added to the queue.

* Resolved breakpoints support.

* Support for notify, breakpoint_get and feature_get.
* Set resolved_breakpoints and notify_ok feature.
* Handle resolved for line and conditional breakpoints.
* Handle breakpoint_resolved notify.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

XDebugError: command is not available
2 participants