IDkmRuntimeBreakpointReceived.OnRuntimeBreakpointReceived 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在事件处理过程中,将调用 OnRuntimeBreakpointReceived。 有关详细信息,请参阅接口定义。
public:
void OnRuntimeBreakpointReceived(Microsoft::VisualStudio::Debugger::Breakpoints::DkmRuntimeBreakpoint ^ runtimeBreakpoint, Microsoft::VisualStudio::Debugger::DkmThread ^ thread, bool hasException, Microsoft::VisualStudio::Debugger::DkmEventDescriptorS ^ eventDescriptor);
public void OnRuntimeBreakpointReceived (Microsoft.VisualStudio.Debugger.Breakpoints.DkmRuntimeBreakpoint runtimeBreakpoint, Microsoft.VisualStudio.Debugger.DkmThread thread, bool hasException, Microsoft.VisualStudio.Debugger.DkmEventDescriptorS eventDescriptor);
abstract member OnRuntimeBreakpointReceived : Microsoft.VisualStudio.Debugger.Breakpoints.DkmRuntimeBreakpoint * Microsoft.VisualStudio.Debugger.DkmThread * bool * Microsoft.VisualStudio.Debugger.DkmEventDescriptorS -> unit
Public Sub OnRuntimeBreakpointReceived (runtimeBreakpoint As DkmRuntimeBreakpoint, thread As DkmThread, hasException As Boolean, eventDescriptor As DkmEventDescriptorS)
参数
- runtimeBreakpoint
- DkmRuntimeBreakpoint
中调试监视器支持的低级别断点对象。
- thread
- DkmThread
中DkmThread 表示在目标进程中运行的线程。
- hasException
- Boolean
中如果源运行时实例可以确定命中断点的线程上的异常,则为 true。 目前,只有托管的运行时实例设置了此。 这用于快速确定是否应该应用异常特定的逻辑,而不进行其他网络往返。
- eventDescriptor
- DkmEventDescriptorS
中描述正在处理的事件,并提供组件禁止显示此事件的功能。