February 20, 2020 Hide variables in debugger for Visual D | ||||
---|---|---|---|---|
| ||||
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. |
February 21, 2020 Re: Hide variables in debugger for Visual D | ||||
---|---|---|---|---|
| ||||
Posted in reply to AlphaPurned | 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. |
Copyright © 1999-2021 by the D Language Foundation