satoren / vscode-lrdb

Lua debugger for vscode

Home Page:https://github.com/satoren/LRDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Invalid variable attributes" displayed in variables lists for Lua 5.1 // lrdb plugin version >0.3.4

gossidog opened this issue ยท comments

Issue Type: Bug

I use lrdb to remote-debug an application that has lua 5.1 embedded. This worked very nicely up until satoren.lrdb extension version 0.4.0, after which significant issues with the variables lists shown in vscode were observed.

Some test script being debugged with satoren.lrdb extension version 0.4.0 (note that 1.0.0 behaves the same):
test_script_0 4 0

The same script being debugged with satoren.lrdb extension version 0.3.4:
test_script_0 3 4

I had a go at trying to get to the root of this issue - swapping bits of extension script from version 0.3.4 in to version 0.4.0, but the refactor that has taken place is significant and my complete lack of knowledge of javascript, vscode plugin debugging or the debug adapter protocol forced me to abandon the attempt.

I can roll back to version 0.3.4 of the extension, but obviously it would better to fix the issue somehow. Let me know if I can provide any further information to help fix this issue.

Extension version: 0.4.0
VS Code version: Code 1.64.2 (f80445acd5a3dadef24aa209168452a3d97cc326, 2022-02-09T22:02:28.252Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No

Thank you for report.
I was able to reproduce it and will fix it.

๐ŸŽ‰ This issue has been resolved in version 1.0.1 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€