Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
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(..)
 
Marc
 


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

 

                                

                                                                             


Back to the top