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

Node-debug: show empty property names as "" #24143

Closed
weinand opened this issue Apr 6, 2017 · 1 comment
Closed

Node-debug: show empty property names as "" #24143

weinand opened this issue Apr 6, 2017 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug debug Debug viewlet, configurations, breakpoints, adapter issues verified Verification succeeded
Milestone

Comments

@weinand
Copy link
Contributor

weinand commented Apr 6, 2017

  • VSCode Version: 1.12.0

Steps to Reproduce:

Debug this snippet:

var o = {};

o[""] = "empty";
o["foo bar"] = "foo bar";

debugger;

Observe:
Variables view shows this:

2017-04-06_23-21-47

I suggest to show a ""as the property name for empty names.

@weinand weinand added debug Debug viewlet, configurations, breakpoints, adapter issues bug Issue identified by VS Code Team member as probable bug labels Apr 6, 2017
@weinand weinand added this to the April 2017 milestone Apr 6, 2017
@weinand
Copy link
Contributor Author

weinand commented Apr 6, 2017

I've fixed this for legacy node-debug:
2017-04-06_23-31-47

@weinand weinand removed their assignment Apr 6, 2017
@weinand weinand reopened this Apr 6, 2017
roblourens added a commit to microsoft/vscode-chrome-debug-core that referenced this issue Apr 12, 2017
@weinand weinand added the verified Verification succeeded label Apr 27, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug debug Debug viewlet, configurations, breakpoints, adapter issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

2 participants