Ballerina-lang: Variable type is incorrect in debug mode

Created on 26 Sep 2019  路  3Comments  路  Source: ballerina-platform/ballerina-lang

Description:

I noticed that the type of some variables are getting displayed as Object. Type of the messageId should be json|error and the type of the responsePayload should be json if I'm not mistaken.

Not sure whether these details are retrieved from the Language Server now.

eab19b17-eae6-4a16-a3b1-8aa93871e501

Steps to reproduce:

Affected Versions:

OS, DB, other environment details and versions:

Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

AreDebugger PrioritHigh TeaTooling TypBug

All 3 comments

@Shan1024 Current ballerina debugger implementation is based on Debugger Adapter Protocol and therefore the both plugins are getting debug information from the ballerina debugger adapter... We have captured some of the aforementioned issues and already started working on improving debug information, which will be shipped with the 1.0.2 release :)

@NipunaRanasinghe Awesome. Looking forward to the new release 馃槂

Closing since variable implementation/presentation has been enhanced with #23411.

Was this page helpful?
0 / 5 - 0 ratings