首页
社区
课程
招聘
[分享]Partition of ICorDebug
发表于: 2011-3-2 03:09 5299

[分享]Partition of ICorDebug

2011-3-2 03:09
5299
Partition of ICorDebug

The ICorDebug API (the API for debugging managed apps) is about 70 total interfaces.
  Here is how I'd group the interfaces together, along with my random comments about
how various interfaces fit into the big picture.

A quick comment about interface versioning:
1. ICorDebug is a COM-classic unmanaged interface. Most of the interfaces are derived from
IUnknown because we wanted to avoid the diamond-inheritance problem when we needed to add
version 2 interfaces. I've left the "Derives From" column blank if an interface derives
from IUnknown.
2. Version 2 interfaces have the previous interface's name appended with a version number.
(eg, "IFoo2")

I'd roughly partition it into the following groups:

Top-level: ICorDebug + ICorDebug2 are the top-level interfaces which effectively serve as
a collection of ICorDebugProcess objects.

Mike Stall Blog

[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!

上传的附件:
收藏
免费 0
支持
分享
最新回复 (2)
雪    币: 46
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
good job
2011-3-2 12:47
0
雪    币: 220
活跃值: (15)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
3
Good!!!
2011-3-2 13:21
0
游客
登录 | 注册 方可回帖
返回
//