We recommend using Visual Studio 2017

IDebugProcess3::Execute

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at IDebugProcess3::Execute.

Continues running this process from a stopped state. Any previous execution state (such as a step) is cleared and the process starts executing again.

System_CAPS_ICON_note.jpg Note

This method should be used instead of Execute.

int Execute(  
   IDebugThread2 pThread  
);  

Parameters

pThread
[in] An IDebugThread2 object representing the thread to execute.

If successful, returns S_OK; otherwise, returns error code.

When the user starts execution from a stopped state in some other process's thread, this method is called on this process. This method is also called when the user selects the Start command from the Debug menu in the IDE. The implementation of this method may be as simple as calling the Resume method on the current thread in the process.

System_CAPS_ICON_warning.jpg Warning

Do not send a stopping event or an immediate (synchronous) event to Event while handling this call; otherwise the debugger may hang.

IDebugProcess3
IDebugThread2
Resume
Event

Show: