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

[Bug]: Step-over instructions doesn't work properly when followed by step-in instructions #43664

Closed
NipunaRanasinghe opened this issue Nov 29, 2024 · 1 comment · Fixed by #43666
Assignees
Labels
Area/Debugger Issues related to the ballerina debugging tools Priority/High Reason/Regression The issue has introduced a regression. Team/DevTools Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs ) Type/Bug
Milestone

Comments

@NipunaRanasinghe
Copy link
Contributor

NipunaRanasinghe commented Nov 29, 2024

Description

Consider the below code.

public function main() returns error? {
    json jsondata = { "httpEndpoint": "", "websocketEndpoint": "" };
    foo();
}

function foo() {
    int a = 2; 
    string b = "hello";
}

step over instruction doesn't work on the int a = 2; line after stepping in from the main function

Steps to Reproduce

No response

Affected Version(s)

2201.11.0-SNAPSHOT

OS, DB, other environment details and versions

No response

Related area

-> Debugger

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

@NipunaRanasinghe NipunaRanasinghe added Type/Bug Area/Debugger Issues related to the ballerina debugging tools labels Nov 29, 2024
@NipunaRanasinghe NipunaRanasinghe self-assigned this Nov 29, 2024
@ballerina-bot ballerina-bot added the Team/DevTools Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs ) label Nov 29, 2024
@NipunaRanasinghe NipunaRanasinghe added this to the 2201.11.0 milestone Nov 29, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in Ballerina Team Main Board Dec 4, 2024
Copy link

github-actions bot commented Dec 4, 2024

This issue is NOT closed with a proper Reason/ label. Make sure to add proper reason label before closing. Please add or leave a comment with the proper reason label now.

      - Reason/EngineeringMistake - The issue occurred due to a mistake made in the past.
      - Reason/Regression - The issue has introduced a regression.
      - Reason/MultipleComponentInteraction - Issue occured due to interactions in multiple components.
      - Reason/Complex - Issue occurred due to complex scenario.
      - Reason/Invalid - Issue is invalid.
      - Reason/Other - None of the above cases.

@NipunaRanasinghe NipunaRanasinghe added the Reason/Regression The issue has introduced a regression. label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/Debugger Issues related to the ballerina debugging tools Priority/High Reason/Regression The issue has introduced a regression. Team/DevTools Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs ) Type/Bug
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants