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

@Debug-Output, object with dynamic keys not working #232

Open
Tracked by #214
anonymous1184 opened this issue Jul 11, 2022 · 3 comments
Open
Tracked by #214

@Debug-Output, object with dynamic keys not working #232

anonymous1184 opened this issue Jul 11, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@anonymous1184
Copy link

After reading here (Conditional breakpoint, variable) and here (Log-point, value) seems like accessing an object property like this should work:

idx := "abc"
obj := {abc:123}
;@debug-output => {obj[idx]}

But I don't get the desired result, is it possible?

image

@zero-plusplus
Copy link
Owner

Thanks for the report.

I have confirmed the issue.

The issue is probably occurring at the following location.

I will start working on a fix as soon as I can find the time.

@zero-plusplus zero-plusplus added the bug Something isn't working label Jul 11, 2022
@anonymous1184
Copy link
Author

Thanks a lot for the quick reply!

I'll keep an eye on the next update :)

zero-plusplus added a commit that referenced this issue Jul 11, 2022
Output of members in bracketed notation in Output directive,
Watch expression, etc. may not be evaluated correctly
@zero-plusplus
Copy link
Owner

This issue has been fixed in the develop branch.
It also seemed to occur in other features such as Watch expression.

As for the release, it may take a little time because I need a coherent amount of time for the confirmation process.

If you want to try this fix immediately, clone the develop branch and execute the following in the console.

  1. npm install
  2. npm run package

This will create vsix and you can install it using the vscode command. The command can be found by pressing F1 in vscode and searching for vsix.

@zero-plusplus zero-plusplus mentioned this issue Jul 13, 2022
62 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants