Skip to content

How variables are fetched

Rich Chiodo edited this page Aug 5, 2022 · 6 revisions

This page describes the variable viewer and how it fetches data from the kernel.

Variable viewer creation

The variable viewer is a custom webview registered in the Jupyter extension's package.json:

image

Those entries in the package.json are picked up when the extension registers the variable view type.

The registration is then handled by a VariableView which eventually uses the html method on a webview to load some react code for the UI.

[sequence diagram of creation sequence]

Variable viewer UI

  • Describe messages in use
  • Show refresh cycle
  • Describe how they're fetched from kernel
  • Describe how they're fetched from the debugger
Clone this wiki locally