BUG: Cannot Edit min/max Float Values in the DebuggerLast reviewed: January 22, 1998Article ID: Q156919 |
The information in this article applies to:
SYMPTOMSWhen you change the value of a double or float variable in the Visual J++ debugger Watch window to a number beyond the data types absolute maximum or minimum value (or to NaN), the debugger puts 1.#INF0000000 (float variables) or 1.#IND00000 (double variables) in the Watch window edit control, which you can then no longer edit.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce BehaviorThe following code sample demonstrates the problem. When this code is compiled and run under the Visual J++ debugger, the variables dNaN, dInfinity, fNan, and fInfinity are read-only when viewed in the Watch window. You can view and change the values of dtest and ftest as expected: public class test { public static void main(String args[]) { double dNaN, dInfinity, dtest; dNaN = 0.0/0.0; dInfinity = 1e308*10; dtest=10; float fNaN, fInfinity, ftest; fNaN = 0.0f/0.0f; fInfinity = 1e38f * 10; ftest=10; }}
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 VJDebug Technology : kbInetDev Version : 1.0 1.1 Platform : WINDOWS Issue type : kbbug |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |