영어로 읽기

다음을 통해 공유


IDebugProgram3

This interface represents a program that is running in a process and extends IDebugProgram2::Execute by providing thread information.

IDebugProgram3 : IDebugProgram3

Notes for Implementers

The debug engine (DE) and a custom port supplier implement this interface to represent a program in a process. The session debug manager (SDM) also implements this interface to provide information to IDebugProgram2::Attach.

Notes for Callers

The IDebugProgramCreateEvent2 event returns this interface for a new program. This interface is also used as a parameter for many methods on multiple interfaces.

Methods in Vtable Order

The following table shows the methods of IDebugProgram3.

Method

Description

IDebugProgram3::ExecuteOnThread

Executes the program. The thread is returned to give the debugger information on which thread the user is viewing when executing.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

Remarks

A program is a thread container running in a particular run-time architecture, while a process is made up of one or more programs.

See Also

Reference

IDebugProgram2

IDebugThread2::GetProgram

IEnumDebugPrograms2::Next

IDebugPortEvents2::Event

IDebugEngine2::Attach

IDebugEngine2::DestroyProgram

IDebugEventCallback2::Event

IDebugProgramNode2::Attach_V7

Concepts

Core Interfaces