[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reverting if tabs after debug


On Tue, 5 Mar 2024 at 23:21, Brian G <brian@xxxxxxxxxxxxxxxx> wrote:

> It is a but disconcerting, that i track down a bug, find the exact
> location to fix, close all the irrelevant files, only to end the debugger
> and have them all opened again, and focused on some other file. Having to
> search for the one i actually need to work on again!
>
> "Failure is the key to success;
>  each mistake teaches us something"  .. Morihei Ueshiba
> Brian G
>

On Tue, 5 Mar 2024 at 23:55, Bruce Steers <bsteers4@xxxxxxxxx> wrote:

The recent commit should keep the currently focused/active document open
> and not restore previously selected tab.
>
> I didn't even realize it re-opened closed tabs. I agree though,  i think
> it would be better if it only closed tabs it's opened and did not re-open
> user closed ones
>
> Maybe this feature should/could be a project setting we could
> enable/disable per requirement?
>
> Respects
> BruceS
>


Also maybe also my initial suggestion is worth a though?

A way to just stop some classes opening in the debugger.

It could work like breakpoints only being per document , having like an
"Hide from debugger" , "Clear hide list",  etc , maybe a button by the
toggle breakpoint/watch expression buttons.  or a menu when you right click
the tab.

Just a thought.

Respects
BruceS

References:
reverting if tabs after debugBrian G <brian@xxxxxxxxxxxxxxxx>
Re: reverting if tabs after debugBruce Steers <bsteers4@xxxxxxxxx>