Skip to content
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.

Error in variable preview #197

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

Error in variable preview #197

bemon opened this issue Apr 6, 2017 · 1 comment

Comments

@bemon
Copy link

bemon commented Apr 6, 2017

I got exception when trying to preview complex objects in vscode.

Error processing "completions": TypeError: Cannot read property 'length' of undefined
    at trimProperty (c:\Program Files (x86)\Microsoft VS Code\resources\app\extensions\ms-vscode.node-debug2\node_modules\vscode-chrome-debug-core\out\src\chrome\variables.js:167:18)
    at propertyPreviewToString (c:\Program Files (x86)\Microsoft VS Code\resources\app\extensions\ms-vscode.node-debug2\node_modules\vscode-chrome-debug-core\out\src\chrome\variables.js:161:19)
    at props.map.prop (c:\Program Files (x86)\Microsoft VS Code\resources\app\extensions\ms-vscode.node-debug2\node_modules\vscode-chrome-debug-core\out\src\chrome\variables.js:151:43)
    at Array.map (native)
    at getObjectPreview (c:\Program Files (x86)\Microsoft VS Code\resources\app\extensions\ms-vscode.node-debug2\node_modules\vscode-chrome-debug-core\out\src\chrome\variables.js:151:14)
    at Object.getRemoteObjectPreview (c:\Program Files (x86)\Microsoft VS Code\resources\app\extensions\ms-vscode.node-debug2\node_modules\vscode-chrome-debug-core\out\src\chrome\variables.js:194:17)
    at NodeDebugAdapter.createObjectVariable (c:\Program Files (x86)\Microsoft VS Code\resources\app\extensions\ms-vscode.node-debug2\node_modules\vscode-chrome-debug-core\out\src\chrome\chromeDebugAdapter.js:1540:33)
    at NodeDebugAdapter.remoteObjectToVariable (c:\Program Files (x86)\Microsoft VS Code\resources\app\extensions\ms-vscode.node-debug2\node_modules\vscode-chrome-debug-core\out\src\chrome\chromeDebugAdapter.js:1483:33)

VSCode version 1.11.0
I dont know what to include more about this bug. If you need more info write me what to debug/send you more.

@roblourens
Copy link
Member

Thanks, I think this is #195

@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants