BUG: Parameter Types and Values Not Displayed in Call StackLast reviewed: January 29, 1998Article ID: Q157897 |
The information in this article applies to:
SYMPTOMSWhen a method has one or more overloaded versions and shows up as a called method in the Call Stack window, the type and value for the parameters are not displayed in some cases. It appears as though the method takes no parameters.
CAUSEThis occurs when the method being called is not defined as the first version of the overloaded method in the class definition. Take for example the following class definition:
public class Test { int method(short s) { return s; } int method(int i) { return i; } }If you were looking at a call to the second version of the method in the Call Stack window, it would appear as follows:
method()The type and value for the method is not displayed.
WORKAROUNDYou could change the order of the method overloads so that the one you are currently debugging is first in the class definition.
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.
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. |