You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Provides a spinner wheel similar to Jupyter notebook when debugging #132078
Originally posted by altosaar May 21, 2021
Steps to reproduce:
Use Python VS Code extension to launch a new jupyter notebook
Execute a cell with import time; time.sleep(20)
Notice the spinner icon that moves, denoting that something is running (below the cell with current runtime in seconds):
Now switch to the python debugger:
Use ctrl + shift + D to launch debug the current python file
Notice that the only visual affordance for seeing that something is running is the 'RUNNING' text in the bottom right in the call stack.
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)
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
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.
Activity
[-]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[/+]brettcannon commentedon Sep 1, 2021
Transferred on behalf of Jaan Altosaar (@altosaar)
roblourens commentedon Sep 2, 2021
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.