Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Debugger question
Message
 
 
À
16/09/2003 09:36:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00829362
Message ID:
00829418
Vues:
19
This message has been marked as a message which has helped to the initial question of the thread.
Ramil,

You can't easily do it because it's a COM object. the debugger doesn't use the same access method that intellisense to expose the available properties. Once you've access a property via a read/write operation on the property the debugger will be able to display the values.

>How do I make the Watch window variables display the list of properties available. I have the variable localize with AS keyword.
>
>local oXML as MSXML2.DOMDocument
>local oElement as MSXML2.IXMLDOMElement
>oXML=createobj('MSXML2.DOMDocument')
>oXML.Load('test.xml')
>oElement=oXML.getElementByTagName("myTag")
>set step on
>* at the debugger, the oElement variable in both Local and Watch
>* windows does not display the list of properties
>
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform