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

[Debugger] Add support for restart requests #43686

Conversation

NipunaRanasinghe
Copy link
Contributor

Purpose

This PR

  • implements support for Restart requests in the Ballerina debug server.
  • adds required integration tests

Here's a quick glance of the new feature, where the debug server manages restart requests and handle new debug sessions using the same server instance.

Screen.Recording.2024-12-04.at.13.47.24.mov

Resolves #43679

Check List

  • Read the Contributing Guide
  • Updated Change Log
  • Checked Tooling Support (#)
  • Added necessary tests
    • Unit Tests
    • Spec Conformance Tests
    • Integration Tests
    • Ballerina By Example Tests
  • Increased Test Coverage
  • Added necessary documentation
    • API documentation
    • Module documentation in Module.md files
    • Ballerina By Examples

Copy link

codecov bot commented Dec 4, 2024

Codecov Report

Attention: Patch coverage is 75.00000% with 26 lines in your changes missing coverage. Please review.

Project coverage is 77.41%. Comparing base (d1ff889) to head (54af2c2).
Report is 16 commits behind head on master.

Files with missing lines Patch % Lines
...lerinalang/debugadapter/JBallerinaDebugServer.java 62.29% 20 Missing and 3 partials ⚠️
.../ballerinalang/debugadapter/JDIEventProcessor.java 86.36% 1 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #43686      +/-   ##
============================================
+ Coverage     77.39%   77.41%   +0.01%     
- Complexity    58578    58599      +21     
============================================
  Files          3445     3445              
  Lines        219050   219093      +43     
  Branches      28961    28959       -2     
============================================
+ Hits         169538   169604      +66     
+ Misses        40093    40063      -30     
- Partials       9419     9426       +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@NipunaRanasinghe NipunaRanasinghe merged commit 28e7cd7 into ballerina-platform:master Dec 5, 2024
17 of 18 checks passed
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.

[Improvement]: Add Support for Restart Requests in the Ballerina Debug Server
2 participants