IDkmBreakpointHitWithErrorNotification.OnBreakpointHitWithError 方法

定义

在事件处理过程中,将调用 OnBreakpointHitWithError。 有关详细信息,请参阅接口定义。

public:
 void OnBreakpointHitWithError(Microsoft::VisualStudio::Debugger::Breakpoints::DkmPendingBreakpoint ^ pendingBreakpoint, Microsoft::VisualStudio::Debugger::DkmThread ^ thread, bool hasException, Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointMessageLevel level, System::String ^ message, Microsoft::VisualStudio::Debugger::DkmEventDescriptorS ^ eventDescriptor);
public void OnBreakpointHitWithError (Microsoft.VisualStudio.Debugger.Breakpoints.DkmPendingBreakpoint pendingBreakpoint, Microsoft.VisualStudio.Debugger.DkmThread thread, bool hasException, Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointMessageLevel level, string message, Microsoft.VisualStudio.Debugger.DkmEventDescriptorS eventDescriptor);
abstract member OnBreakpointHitWithError : Microsoft.VisualStudio.Debugger.Breakpoints.DkmPendingBreakpoint * Microsoft.VisualStudio.Debugger.DkmThread * bool * Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointMessageLevel * string * Microsoft.VisualStudio.Debugger.DkmEventDescriptorS -> unit
Public Sub OnBreakpointHitWithError (pendingBreakpoint As DkmPendingBreakpoint, thread As DkmThread, hasException As Boolean, level As DkmBreakpointMessageLevel, message As String, eventDescriptor As DkmEventDescriptorS)

参数

pendingBreakpoint
DkmPendingBreakpoint

中与用户级构造关联的高级别断点对象 (ex:源文件、函数名称) ,它可映射到零个或多个代码级别构造 (DkmBoundBreakpoint) ,并且可能会在一段时间内进行跟踪。

thread
DkmThread

中DkmThread 表示在目标进程中运行的线程。

hasException
Boolean

中如果源运行时实例可以确定命中断点的线程上的异常,则为 true。 目前,只有托管的运行时实例设置了此。 这用于快速确定是否应该应用异常特定的逻辑,而不进行其他网络往返。

level
DkmBreakpointMessageLevel

中描述从断点管理器发送回源组件的消息的严重性。 此列表按优先级顺序排序,因为 UI 只显示最重要的警告。 如果绑定了断点,则忽略所有警告。

message
String

中要报告的错误消息。

eventDescriptor
DkmEventDescriptorS

中描述正在处理的事件,并提供组件禁止显示此事件的功能。

适用于