HOWTO: Debugging a COM Server Written with Visual J++

Last reviewed: February 10, 1998
Article ID: Q180712
The information in this article applies to:
  • Microsoft Visual J++, versions 1.0, 1.1

SUMMARY

This article explains how to debug a Java COM object that is referenced by a client that is written in another language such as C++ or Visual Basic 5.0.

MORE INFORMATION

Developer Studio 97 and Visual J++ 1.1 provide a standard mechanism for debugging. The two defaults are through an HTML browser (Internet Explorer 3.x/4.0) and through a stand-alone interpreter (Jview).

To debug Java code referenced by any client, specify the client as the "standalone interpreter" in the Project Settings dialog box, Debug tab, Category "Stand-alone interpreter." Under the "General" category, set the Debug/Execute radio button to "Stand-alone interpreter." Then debug as usual.

REFERENCES

Please see the Visual J++ documentation on Java and COM for information on how to create a Java COM object.

For the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java, see the following page on the Microsoft Technical Support site:

   http://support.microsoft.com/support/visualj/
   http://support.microsoft.com/support/java/

Keywords          : JCOM VJDebug
Technology        : kbInetDev ole
Version           : WINDOWS:1.0,1.1
Platform          : WINDOWS
Issue type        : kbhowto


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 10, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.