daveleroy / SublimeDebugger

Graphical Debugger for Sublime Text for debuggers that support the debug adapter protocol
MIT License
366 stars 41 forks source link

[FR] Make code subwindow active on cursor change #265

Closed DJManas closed 3 weeks ago

DJManas commented 1 month ago

Hello,

just a little question. Would it be possible to add feature to make window code active upon debugging cursor change?

E.g. I launch step_over like on this picture, it seems I am on line 123 image

I want to add breakpoint using shortcut, but its not doing it I have to click into the code window and press the key again.

Not sure if anyone else would appreciate this so if it can and will be implemented, best way would be to add option to turn it on/off.

Thanks, Regards, Petr Sourek

daveleroy commented 3 weeks ago

Clearing the curser is intended here since if you have settings like highlight_line it can cause issues.

DJManas commented 3 weeks ago

Clearing the curser is intended here since if you have settings like highlight_line it can cause issues.

So if I I get it correctly. When I disable highlight_line the code window won't loose focus on stepping through code?