In fact, I’m looking to build a model of variables extracted from stack frame service.
This model must contain a set of information (required for my view) :
· Variable name type value
· Variable children if available (and so children name, type and values)
· Detect if there is change of value (in order to be highlighted)
My model is a list of MIVariableObject because it contains almost of what I need of information (comparing to IExpressions ..)
May be it is wrong to use this utility class and so its methods ??
In this case how could I proceed to get information about local variables of a specific stack frame service ?
Thanks in advance
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Marc Khouzam
Sent: mercredi 30 janvier 2013 16:45
To: 'CDT General developers list.'
Subject: Re: [cdt-dev] DSF - How force children fetch in MIVariableObject ?
I'm not sure how you are using MIVariableObject, but you probably don't want ot call getChildren() yourself. It is part of a utility class that is meant to be used by MIVariableObject itself. I don't know why this method/class is public...
The way to get teh children of an _expression_ is to use IExpressions.getSubExpressions(..)
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Maherzia BELAAZI
Sent: Wednesday, January 30, 2013 4:08 AM
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] DSF - How force children fetch in MIVariableObject ?
Hello,
getChildren() in MIVariableObject always return null despite value of numChildrenHint > 0.
It is a normal behavior as it means we didn't fetch the children yet (while an empty array means no children). This method returns the content of a cache, but this cache must first be filled.
My question is how could I force the filling of the cache before calling getChildren Method?
Any help is so welcome
Maherzia