question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Test Variable Viewer in the web

See original GitHub issue

Refs: #9664

Complexity: 4

Create Issue


Requirements

Set up

  1. Go to a command prompt where you’ve installed jupyter into a python environment
  2. Switch to a folder you’re using for testing
  3. Run jupyter with the following command jupyter notebook --no-browser --NotebookApp.allow_origin=*

Test Steps

  1. Open insiders.vscode.dev and create a new python file
  2. Add variables in the python file (Try adding some, and then in another run try adding many different variables).
  3. Connet to the jupyter server:
    1. Run the ‘Jupyter: Specify jupyter server for connections’ command, or use the link from the IW’s info message
    2. Pick ‘Existing’
    3. Paste the URL from the jupyter notebook server you started in step 3 of the setup
  4. Run the command Jupyter: Focus on Variables View.
  5. Run the file with Juptyer: Run Current File in Interactive Window.
  6. See that the variables in the Variable View matched the expectations.

Try again with a .ipynb file:

  1. Open insiders.vscode.dev and create a new .ipynb file.
  2. Add variables in the python file (Try adding some, and then in another run try adding many different variables).
  3. Connet to the jupyter server:
    1. Run the ‘Jupyter: Specify jupyter server for connections’ command, or use the link from the IW’s info message
    2. Pick ‘Existing’
    3. Paste the URL from the jupyter notebook server you started in step 3 of the setup
  4. Run the command Jupyter: Focus on Variables View.
  5. Run the cells on your file.
  6. See that the variables in the Variable View matched the expectations.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
weinandcommented, Jun 1, 2022

@sadasant yes, with the new version things look much better…

1reaction
sadasantcommented, May 31, 2022

@weinand turns out we haven’t published the Variable Viewer! Our build failed on Friday. I’ll provide an update soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

7 Ways to Look at the Values of Variables While Debugging in ...
The most commonly used way to look at variables is the DataTip. When stopped in the debugger hover the mouse cursor over the...
Read more >
Watch variables in Sources - Chrome Developers
The Sources panel provides the ability to watch variables within your application. This is located in the watch section of the debugger sidebar....
Read more >
Using Variables in Web Tests | TestComplete Basics - YouTube
Learn how to create variables for keyword tests, projects, and project suites, and how to use them to replace hard-coded values in your ......
Read more >
Defining a variable to run a test with a selected browser - IBM
Open the test, and in the Test Contents area, at the top of the test, click Test Variables. Select Add > Test Variables...
Read more >
Variable Viewer - MATLAB & Simulink - MathWorks
The Variable Viewer displays the variable priority and target values, where specified, along with the actual initial values for all the variables obtained...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found