To end a debugging session in Microsoft Visual Studio, from the Debug menu, choose Stop Debugging.
VS Code maintains a debug session while the program is running, and pressing the Stop button terminates the program.
Try unchecking this option: Tools –> Options –> Debugging –> General –> Enable UI Debugging Tools for XAML
.
Though you still might consider leaving it on and using it to your advantage.
After having the same question and finding the answer here, I also discovered that it can be toggled from the Live Visual Tree window.
While debugging, Debug (menu) -> Windows -> Live Visual Tree
The first icon (Show runtime tools in application) will toggle it.
Instead of turning mine off entirely, I've taken to collapsing it most of the time. There are still times when it's entirely useful, and the collapsed version does a nice job of providing only minimal UI usage. To collapse it, click on the horizontal bar:
To restore it, simply click the bar again.
I realise that this is an old question, but there is an additional option that no one has mentioned. Rather than turning this useful functionality off completely, we can enable the functionality, but just remove the annoying runtime tools from appearing at the top of our applications:
This option can be unchecked at the following location:
Tools > Options > Debugging > General > Enable UI Debugging Tools for XAML > Show runtime tools in the application
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With