digitalmars.D.debugger - Override tostring in VisualD?
- James Japherson (7/7) Oct 10 2018 I'm trying to customize the debug display values.
- Rainer Schuetze (7/16) Oct 15 2018 The mago debug engine/expression evaluator plugin does not have a
I'm trying to customize the debug display values. I've overridden toString in my types but they are not effecting the displayed values. It simply displays a sort of json of the type. (which happens to be real long and contains a lot of indirections, I want to shorten it to something meaningful like displaying the relevant values) Is there any?
Oct 10 2018
On 11/10/2018 02:03, James Japherson wrote:I'm trying to customize the debug display values. I've overridden toString in my types but they are not effecting the displayed values. It simply displays a sort of json of the type. (which happens to be real long and contains a lot of indirections, I want to shorten it to something meaningful like displaying the relevant values) Is there any?The mago debug engine/expression evaluator plugin does not have a visualizer language to adapt the display of specific types as C++ has. The expression evaluator plugin that is used with the VS debug engine can evaluate "obj.toString()" in the watch window, though. Unfortunately, slice return values such as strings cannot be displayed for 64-bit code due to the non-standard extern(D) ABI.
Oct 15 2018