Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Debugger question
Message
 
 
To
16/09/2003 09:36:44
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00829362
Message ID:
00829418
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform