Microsoft SDK for Java

IRemoteProcess : IUnknown

The IRemoteProcess interface represents a Java process running under the Microsoft VM. This interface is implemented by the Microsoft VM. Once a debugger has obtained an IRemoteProcess interface, either through enumeration or from receiving a ProcessCreateEvent method call, it can attach to and debug the associated Java process.

To debug a Java process, a debugger must first register its IRemoteProcessCallbackEx2 interface with the Java process to receive notifications and information from the Microsoft VM regarding that Java process.

  // Methods
  HRESULT Break(void)
  HRESULT Detach(void)
  HRESULT FindClass(LPCOLESTR pszClassName, 
    IRemoteClassField **ppClassType)
  HRESULT GetGlobalContainerObject(IRemoteContainerObject
    **ppGlobalContainerObject)
  HRESULT GetThreadGroups(IJavaEnumRemoteThreadGroup **ppEnum)
  HRESULT RegisterCallback(IRemoteProcessCallback *pCallback)
  HRESULT TraceMethods(BOOL bTraceOn)

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