Microsoft SDK for Java

IRemoteDebugManagerCallbackEx::
ProcessCreateEvent

The ProcessCreateEvent method of the IRemoteDebugManagerCallbackEx interface is called by the Microsoft VM to notify the debugger that the requested process to be debugged has started. The Microsoft VM passes in an IRemoteProcess interface representing the running Java process.

Syntax

HRESULT ProcessCreateEvent(IRemoteProcess *pProcessNew, IRemoteProcess *pProcessParent)

Parameters

[in] pProcessNew The new Java process.
[in] pProcessParent Reserved.

Return Value

S_FALSE Success.

E_FAIL Failure.

Remarks

The debugger establishes a session with the new Java process by calling RegisterCallback. RegisterCallback registers the debugger's IRemoteProcessCallbackEx2 interface with the new Java process during the Microsoft VM's call to ProcessCreateEvent. The Microsoft VM responds to RegisterCallback by calling ThreadCreateEvent for each running Java thread, and by calling ClassLoadEvent for each loaded Java class.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.