开发者

WinDbg: How to get WinDbg's Locals/Watch to support complex VB6 types (collection, custom classes)?

First, is this even possible? And if so how would I do this? I'm particularly interested in the Collection class and custom VB classes.

Particularly welcome would be a book/reference on this subject: I have "Advanced Windows Debugging", but I need more help when analyzing a 开发者_Python百科dump file involving a VB6 component.

Once I have to start inspecting the state of VB objects, I'm in over my head!

Thanks.


As far as I know, there's nothing specifically out there about debugging and visualizing VB6 objects from WinDBG.

Matthew Curland's book, "Advanced VB Power techniques for everyday programmers"

 http://www.powervb.com/

Is probably the best book out there that kind of gets close.

He does work through the memory layouts of VB6 classes and the stack, which would definitely help (it helped me a TON when I was reverse engineering the return addresses off the stack).

That said, things like the Collection object are pretty complex internally, so how much it helps would be debatable. Simpler "name value pair" type objects should be relatively straightforward to resolve from WinDBG, though.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜