开发者

VB 6.0: How can I see XML variables in Immediate Window

I am debugging a VB 6.0 program that is using XML methods, etc. How can I see how these XML var开发者_开发技巧iables look in my program when I am debugging it?


Use watch window (view menu -> watch window or locals window) or immediate window, when you are debugging or hit a breakpoint.

Inside immediate window ( ctrl + g ), type ? myXmlVariable to see the content of the variable named myXmlVariable.


you can also use Debug.Print myXmlVariable in the code and it will automatically write to the immediate window as it encounters the code during run time or as you are stepping through it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜