IDataModelScriptDebugClient 接口 (dbgmodel.h)

脚本调试器的客户端将此接口作为与脚本调试器的双向通信通道的一部分实现。

希望提供脚本调试功能的用户界面实现 IDataModelScriptDebugClient 接口。 脚本提供程序利用此接口来回传递调试信息(例如:发生的事件、断点等...)

遗产

IDataModelScriptDebugClient 继承自 IUnknown。

方法

IDataModelScriptDebugClient 接口具有这些方法。

 
IDataModelScriptDebugClient::AddRef

IDataModelScriptDebugClient::AddRef 方法递增对象上接口的引用计数。
IDataModelScriptDebugClient::NotifyDebugEvent

每当发生任何中断脚本调试器的事件时,调试代码本身就会通过 NotifyDebugEvent 方法调用接口。
IDataModelScriptDebugClient::QueryInterface

IDataModelScriptDebugClient::QueryInterface 方法检索指向对象上支持的接口的指针。
IDataModelScriptDebugClient::Release

IDataModelScriptDebugClient::Release 方法会递减对象上接口的引用计数。

言论

希望围绕脚本调试提供接口的调试主机或调试程序应用程序必须通过脚本调试接口上的 StartDebugging 方法向脚本调试器提供 IDataModelScriptDebugClient 接口的实现。

IDataModelScriptDebugClient 是传递调试事件的通信通道,控制从脚本执行引擎传递到调试器接口。

要求

要求 价值
标头 dbgmodel.h

另请参阅

调试器数据模型C++概述