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

[分享]Partition of ICorDebug

2011-3-2 03:09
5297
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

[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课

上传的附件:
收藏
免费 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
游客
登录 | 注册 方可回帖
返回
//