Open jcansdale opened 6 years ago
That's a cool idea.
I often want it off until I hit a certain breakpoint, but if I'm starting debugging with it on, there's a good chance that I'll want it to stay on at the beginning of the next debugging session I start after this one. I'll have to pay attention.
I would go just the opposite. I almost always only want to debug just my code but when a NuGet package is misbehaving then I want to step into it. I would love to be able to use this feature if it were to keep "just my code" on unless I picked a special option from a menu that would temporarily disable just by code. The only problem is what should that menu item be named in that case? Start Debugging All Code
vs Start Debugging My Code
? I think you'd agree that Start Debugging without Just My Code
is much too verbose for a menu item.
I think this extension would be even better if it added a
Debug
menu option toStart Debugging Just My Code
. All it would do would be enableJust My Code
, call theStart.Debug
command and restoreJust My Code
back to its original state.This way debugging
Just My Code
would be an explicit choice when starting a debug session. I find the problem with the toggle is that I forget to use it.I think this might also sidestep the #13 issue.
What do you think @jnm2?