MI Interface and Pretty Print to_string() result

Elmenthaler, Jens
2010-02-23T07:53:33Z

If I see that right, there is no way to obtain the result of the to_string() method from a pretty printer for a dynamic variable object that is a child of another dynamic variable object.

-var-evaluate-expression returns "{...}" for anything that has children, and in order to use -data-evaluate-expression, I must be able to provide an expression that denotes the variable object. This however, seems not possible for dynamic variable objects that are a direct or indirect child of another dynamic variable object.

Is there some mistake on my side?

Would it help to enter a bug that -var-evualuate-expression always returns the result of the pretty printers to_string() method?

Jens.