The debugger isn't highlighting any line!

The ‘highlight the active line Default: false’, is checked! But I’ve yet to see the ‘Highlighting’ of a single line on my scripts, or perhaps the default color is gray!
Note: Which isn’t cool, as disabled cmds/links et al. is gray!

In version 7.2.0 I see the setting you are featuring in your screenshot under ‘Notebook’. And so I am not following why you’d expect that to be involved with the debugger? What I see when I toggle that is that when I open a new notebook after adjusting that setting, then I see the line I am editing light up across its whole width with a gray bar. Highlighting the entire currently active line I am editing seems to work fine with Dark theme, too. I am trying it in launches from here.


I have tested the debugger though and do see what the title suggests.
Because I initially wasn’t able to sit and test, I made quick reply explaining about the highlighting setting in the screenshot and so I will make the reply about the title now in a separate reply.

1 Like

As for the title ‘The debugger isn’t highlighting any line’…

I think I may be seeing what you mean? It still works for JupyterLab as outlined here but the highlights in the code cells don’t show in Jupyter Notebook as the callstack is stepped through. I do see highlighting of the line under ‘Source’ in the Debugger panel of Jupyter Notebook 7.2.0. To test this I went here and launched Jupyter Notebook 7.2.0 and tested with the example code in the documentation. I see this:

(This screenshot makes it look like I clicked in the next cell. Even if that isn’t highlighted, there’s no highlighting in the code cell as the debuggers steps through.)

By contrast…

if I save that .ipynb file and then change the URL to open it in JupyterLab (it gave me JupyterLab Version 4.2.3), then run it, I see highlighting of the lines as step through. The exact style has been updated relative the documentation but the highlighting of the line is clearly visible: