This method is called to notify the Microsoft VM that an unhandled Java exception was thrown in a running Java process. The IJITAttachDebugger interface description indicates how to register a debugger for JIT debugging when an unhandled Java exception is thrown.
HRESULT JITAttach(IRemoteProcess *pRunningProcess, IRemoteThread *pThread, IRemoteClassObject *pExceptionObject)
[in] *pRunningProcess | A pointer to the IRemoteProcess interface of the Java process in which an unhandled Java exception was thrown. |
[in] *pThread | A pointer to the IRemoteThread interface of the Java thread that threw the unhandled Java exception. |
[in] *pExceptionObject | A pointer to the IRemoteClassObject interface of the thrown Java object. |
S_OK The debugger attached to debug the running Java process.
E_FAIL The debugger did not attach to debug to the running Java process.