共用方式為


IDebugBeforeSymbolSearchEvent2

The debug engine (DE) sends this interface to the session debug manager (SDM) to set the status bar message during symbol loads.

IDebugBeforeSymbolSearchEvent2 : IUnknown

Notes for Implementers

The DE implements this interface when it must set the status bar message during symbol loads. This interface is implemented only by debug engines that work with or are a part of script interpreters. The IDebugEvent2 interface must be implemented on the same object as this interface (the SDM uses QueryInterface to access the IDebugEvent2 interface).

Notes for Callers

The DE creates and sends this event object when it must set the status bar message during symbol loads. The event is sent by using the IDebugEventCallback2 callback function supplied by the SDM when it attached to the program being debugged.

Methods

The following table shows the methods of IDebugBeforeSymbolSearchEvent2.

Method

Description

IDebugBeforeSymbolSearchEvent2::GetModuleName

Retrieves the name of the module currently being debugged.

Requirements

Header: Msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll