This repository has been archived by the owner on Oct 2, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
e173014
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this code pending release?
Node.js Tools 1.4.10918.1 is still throwing: Error processing "variables": TypeError: Cannot read property 'length' of undefined
e173014
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it's old. I don't know what
Node.js Tools 1.4.10918.1
is. Is that in Visual Studio or vscode?e173014
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's Visual Studio Community 2017 Version 15.4.2
e173014
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an extension for vscode, not related to the Visual Studio IDE.
e173014
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting. In this environment just have Visual Studio with Node.js develoment enabled and the debug window shows the following error:
Error processing "variables": TypeError: Cannot read property 'length' of undefined
at trimProperty (C:\ProgramData\Microsoft\VisualStudio\NodeAdapter\0120e539\node_modules\vscode-chrome-debug-core\out\src\chrome\variables.js:167:18)
at propertyPreviewToString (C:\ProgramData\Microsoft\VisualStudio\NodeAdapter\0120e539\node_modules\vscode-chrome-debug-core\out\src\chrome\variables.js:161:19)
at props.map.prop (C:\ProgramData\Microsoft\VisualStudio\NodeAdapter\0120e539\node_modules\vscode-chrome-debug-core\out\src\chrome\variables.js:151:43)
at Array.map (native)
at getObjectPreview (C:\ProgramData\Microsoft\VisualStudio\NodeAdapter\0120e539\node_modules\vscode-chrome-debug-core\out\src\chrome\variables.js:151:14)
at Object.getRemoteObjectPreview (C:\ProgramData\Microsoft\VisualStudio\NodeAdapter\0120e539\node_modules\vscode-chrome-debug-core\out\src\chrome\variables.js:194:17)
at NodeDebugAdapter.createObjectVariable (C:\ProgramData\Microsoft\VisualStudio\NodeAdapter\0120e539\node_modules\vscode-chrome-debug-core\out\src\chrome\chromeDebugAdapter.js:1383:33)
at NodeDebugAdapter.remoteObjectToVariable (C:\ProgramData\Microsoft\VisualStudio\NodeAdapter\0120e539\node_modules\vscode-chrome-debug-core\out\src\chrome\chromeDebugAdapter.js:1325:33)
at NodeDebugAdapter.internalPropertyDescriptorToVariable (C:\ProgramData\Microsoft\VisualStudio\NodeAdapter\0120e539\node_modules\vscode-chrome-debug-core\out\src\chrome\chromeDebugAdapter.js:1090:21)
e173014
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, there is an older version of this shipped with VS. I suppose the update will come with the next VS update.
e173014
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, thanks for the heads up.