Skip to content

Provides a spinner wheel similar to Jupyter notebook when debugging #132078

Closed

Description

Discussed in microsoft/vscode-python#16296

Originally posted by altosaar May 21, 2021
Steps to reproduce:

  1. Use Python VS Code extension to launch a new jupyter notebook
  2. Execute a cell with import time; time.sleep(20)
  3. Notice the spinner icon that moves, denoting that something is running (below the cell with current runtime in seconds):
    image

Now switch to the python debugger:

  1. Use ctrl + shift + D to launch debug the current python file
  2. Notice that the only visual affordance for seeing that something is running is the 'RUNNING' text in the bottom right in the call stack.
    image

Just a thought, but adding a spinner icon besides 'running', or in the play/pause/stop on top while a debugging process is running, along with the timing info in seconds could be very helpful as a visual cue (I've found myself restarting processes frequently, unnecessarily)

Activity

  1. changed the title [-]Spinner wheel in Python Debugger / similar to Jupyter notebook (currently there is no visual indication that a debug command was launched)[/-] [+]Provides a spinner wheel similar to Jupyter notebook when debugging[/+] on Sep 1, 2021
  2. brettcannon commented on Sep 1, 2021

    @brettcannon
    MemberAuthor

    Transferred on behalf of Jaan Altosaar (@altosaar)

  3. roblourens commented on Sep 2, 2021

    @roblourens
    Member

    Thanks for the suggestion. Besides the UI hints in the debug viewlet, we also change the status bar color (maybe not in your theme but it can be configured) and show the badge (1) on the debug activity bar icon. I don't think I want to show animation or a timer. I'd find an animation distracting and it's not clear in what case the timer would be meaningful - time running between breakpoints? It's sort of a different situation than running a notebook cell.

  4. locked and limited conversation to collaborators on Oct 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions