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 #43684

Conversation

NipunaRanasinghe
Copy link
Contributor

@NipunaRanasinghe NipunaRanasinghe commented Dec 4, 2024

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 handles subsequent 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.31%. Comparing base (1c5a1c1) to head (55cee50).
Report is 1010 commits behind head on 2201.11.0-stage.

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                  @@
##             2201.11.0-stage   #43684      +/-   ##
=====================================================
- Coverage              77.39%   77.31%   -0.08%     
- Complexity             58585    58770     +185     
=====================================================
  Files                   3445     3524      +79     
  Lines                 219112   221413    +2301     
  Branches               28967    28772     -195     
=====================================================
+ Hits                  169583   171187    +1604     
- Misses                 40105    40581     +476     
- Partials                9424     9645     +221     

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

@NipunaRanasinghe NipunaRanasinghe merged commit 9b642cc into ballerina-platform:2201.11.0-stage Dec 5, 2024
15 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.

3 participants