The StartClassEvent method of the IRemoteDebugManagerCallbackEx is called by the Microsoft VM to notify the debugger that the Microsoft VM has loaded a Java application, applet, or COM object. For example, if the Microsoft VM was started with jview using the command line
JView Hello
the start class would be Hello. If the debugger has already registered an IRemoteProcessCallbackEx2 interface via RegisterCallback, the Microsoft VM calls IRemoteProcessCallbackEx2::StartClassEvent instead of IRemoteDebugManagerCallbackEx::StartClassEvent. IRemoteDebugManagerCallbackEx allows a debugger to receive a StartClassEvent before it has registered an IRemoteProcessCallbackEx2 interface with the Microsoft VM.
HRESULT StartClassEvent(LPCOLESTR pcstrStartClass)
[in] pcstrStartClass | The name of the Java application, applet or COM object class that the Microsoft VM loaded. |
S_FALSE Success.
E_FAIL Failure.
The Microsoft VM calls this method only if the MSJDBG_SEND_START_CLASS_EVENTS (0x40) flag is set in the MSJAVA_DEBUGGING_FLAGS environment variable, or if the MSJAVA_DEBUGGING_FLAGS environment variable is not set and the MSJDBG_SEND_START_CLASS_EVENTS flag is set in the appropriate registry key.