ballerina-platform / ballerina-lang

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

[Debugger] Regexp values are not correctly shown in the debugger variable view #42636

Closed NipunaRanasinghe closed 1 week ago

NipunaRanasinghe commented 2 weeks ago

Description

Values of Ballerina regex variables are not correctly shown in the debugger

Steps to Reproduce

Debug the following source and check the value of foo

public function main() { string:RegExp foo = re [a-zA-Z0-9]; }

Its shown as below

Screenshot 2024-04-25 at 15 28 47

Affected Version(s)

No response

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

github-actions[bot] commented 1 week ago

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.