|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Registration and Notification InterfacesUse these interfaces to register namespaces for debugging and to receive notification of new namespaces. IRemoteDebugManager : IUnknownProvides access to all currently running namespaces. Also provides a way to debug new namespaces. RegisterCallbackHRESULT RegisterCallback(IRemoteDebugManagerCallback *pCallback) DetachHRESULT Detach(void) GetActiveProcessesHRESULT GetActiveProcesses(IEnumRemoteProcess **ppEnum) RequestCreateEventHRESULT RequestCreateEvent(LPCOLESTR pcszProcessName, DWORD dwParentProcessId) IEnumRemoteProcess : IUnknownEnumerates running namespaces. NextHRESULT Next(ULONG celt, IRemoteProcess *rgelt[], ULONG *pceltFetched) SkipHRESULT Skip(ULONG celt) ResetHRESULT Reset(void) CloneHRESULT Clone(IEnumRemoteProcess **ppEnum) IRemoteDebugManagerCallback : IUnknownNotifies the debugger about requested new namespace creations. ProcessCreateEventHRESULT ProcessCreateEvent(IRemoteProcess *pProcessNew, IRemoteProcess *pProcessParent) IRemoteProcess : IUnknownRepresents a single Java namespace running within a Java VM. Note that it does not represent the operating system process that the Java VM is being run in. RegisterCallbackHRESULT RegisterCallback(IRemoteProcessCallback *pCallback) DetachHRESULT Detach(void) BreakHRESULT Break(void) GetGlobalContainerObjectHRESULT GetGlobalContainerObject(IRemoteContainerObject **ppGlobalContainerObject) FindClassHRESULT FindClass(LPCOLESTR pcszClassName, IRemoteClassField **ppClassType) TraceMethodsHRESULT TraceMethods(BOOL bTraceOn) GetThreadGroupsHRESULT GetThreadGroups(IEnumRemoteThreadGroup **ppEnum) IRemoteProcessCallback : IUnknownCommunicates asynchronous notifications from the Java VM to the debugger. No debuggee execution occurs during the handling of these events. The debugger returns S_OK to leave execution suspended in the source namespace, or S_FALSE to continue execution in the source namespace. The pThread input argument to each event notification method is a thread object that represents the thread that generated the event. DebugStringEventHRESULT DebugStringEvent(IRemoteThread *pThread, LPCOLESTR pcszDebugString) CodeBreakpointEventHRESULT CodeBreakpointEvent(IRemoteThread *pThread) DataBreakpointEventHRESULT DataBreakpointEvent(IRemoteThread *pThread, IRemoteObject *pObject) ExceptionEventHRESULT ExceptionEvent(IRemoteThread *pThread, IRemoteClassField *pExceptionClass, EXCEPTIONKIND exceptionKind) StepEventHRESULT StepEvent(IRemoteThread *pThread) CanStopEventHRESULT CanStopEvent(IRemoteThread *pThread) BreakEventHRESULT BreakEvent(IRemoteThread *pThread) ThreadCreateEventHRESULT ThreadCreateEvent(IRemoteThread *pThread) ThreadDestroyEventHRESULT ThreadDestroyEvent(IRemoteThread *pThread) ThreadGroupCreateEventHRESULT ThreadGroupCreateEvent(IRemoteThread *pThread, IRemoteThreadGroup *pThreadGroup) ThreadGroupDestroyEventHRESULT ThreadGroupDestroyEvent(IRemoteThread *pThread, IRemoteThreadGroup *pThreadGroup) ClassLoadEventHRESULT ClassLoadEvent(IRemoteThread *pThread, IRemoteClassField *pClassType) LoadCompleteEventHRESULT LoadCompleteEvent(IRemoteThread *pThread) ClassUnloadEventHRESULT ClassUnloadEvent(IRemoteThread *pThread, IRemoteClassField *pClassType) TraceEventHRESULT TraceEvent(IRemoteThread *pThread) ProcessDestroyEventHRESULT ProcessDestroyEvent(IRemoteThread *pThread)
|
© 1998 Microsoft Corporation. All rights reserved. Terms of use. |