digitalmars.D.ide - Hide variables in debugger for Visual D
- AlphaPurned (10/10) Feb 20 2020 Sometimes I have temp like variables or just don't want to
- Rainer Schuetze (5/18) Feb 21 2020 If you prefix your variable with a double underscore "__" they are
Sometimes I have temp like variables or just don't want to clutter up the auto's or local's. Could you add some simple way to hide a variable from being displayed? e.g., pragma(VisualD, hide_variable, "axss"); would never show axss or show it in a separate expandable folder. (it would be nice to still be able to see it when desired without having to modify pragma) Things kinda get cluttered in the windows. I know I could add watches but that can be a pain too.
Feb 20 2020
On 20/02/2020 23:03, AlphaPurned wrote:Sometimes I have temp like variables or just don't want to clutter up the auto's or local's. Could you add some simple way to hide a variable from being displayed?If you prefix your variable with a double underscore "__" they are hidden unless the respective switch on the mago settings is checked.e.g., pragma(VisualD, hide_variable, "axss");That would be a change to the compiler.would never show axss or show it in a separate expandable folder. (it would be nice to still be able to see it when desired without having to modify pragma)Watching the variable explicitly should still work.Things kinda get cluttered in the windows. I know I could add watches but that can be a pain too.
Feb 21 2020