ballerina-platform / ballerina-lang

The Ballerina Programming Language
https://ballerina.io/
Apache License 2.0
3.54k stars 733 forks source link

[Bug]: The `try it` and `visualize` code lenses disappear intermittently #42614

Open nipunayf opened 3 weeks ago

nipunayf commented 3 weeks ago

Description

$title.

https://github.com/ballerina-platform/ballerina-lang/assets/59343084/831c5341-ec22-43e3-b330-f254b84cfbd7

Steps to Reproduce

Execute the debug command followed by the run command for the following Ballerina project.

import ballerina/http;

listener http:Listener helloWorldEP = new (9090);

service /helloWorld on helloWorldEP {

    resource function get [string name]() returns string {
        return "Hello, World! " + name;
    }
}

Affected Version(s)

Ballerina 2201.8.6 (Swan Lake Update 8)

OS, DB, other environment details and versions

OS: macOS 14.4.1 23E224 JDK: openjdk 17.0.8 2023-07-18

Related area

-> Compilation

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response