FIX: Problems Using Breakpoints when Debugging Java ClassesLast reviewed: January 29, 1998Article ID: Q161708 |
The information in this article applies to:
SYMPTOMSWhen you debug a Java class with breakpoints or single-stepping, the symbols for java.lang.NoSuchFieldError and java.lang.LinkageError are loaded, and a first chance exception error occurs. You must then load the source code for Throwable.java.
CAUSEThe Virtual machine throws a NoSuchFieldError when it fails to find a hash value for a field by name and type.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual J++ 1.1 and the Microsoft Java Virtual machine build number 1251 or greater. MsJava.dll is one of the files that is updated. Check the version number of this DLL. It should indicate the version of the Virtual machine on the machine. To obtain an updated version of the Java Virtual machine, go to http://www.microsoft.com/java and select the Downloads link.
REFERENCESFor 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 : kbtool JVM VJDebug Technology : kbInetDev Version : 1.0 Platform : WINDOWS Issue type : kbbug Solution Type : kbfix |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |