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

Cannot get custom Data Extractor working #157

Open
leonard-thieu opened this issue Nov 3, 2022 · 1 comment
Open

Cannot get custom Data Extractor working #157

leonard-thieu opened this issue Nov 3, 2022 · 1 comment

Comments

@leonard-thieu
Copy link

I'm trying to get a custom Data Extractor working. When following the example, the code runs to register the Data Extractor but the actual extractor code never runs.

image


Repo with repro: https://github.com/leonard-thieu/test-vscode-debug-visualizer

Version: 1.73.0 (user setup)
Commit: 8fa188b2b301d36553cbc9ce1b0a146ccb93351f
Date: 2022-11-01T15:34:06.111Z
Electron: 19.0.17
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Windows_NT x64 6.3.9600
Sandboxed: No
  • yarn
  • Open project in Visual Studio Code
  • Open index.mjs
  • Run -> Start Debugging -> Node.js
  • Debug Visualizer: New View
  • Visualize f

Expected: Foo

Actual: [object Object]

@hediet
Copy link
Owner

hediet commented Nov 7, 2022

Looks like a bug.

However, I heavily recommend you to use this approach:
https://github.com/hediet/vscode-debug-visualizer/blob/master/extension/README.md#debugvisualizerjscustomscriptpaths

  1. you can change the visualization without having to restart the debugger
  2. the visualization code is separate from your production code
  3. it works ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants