BUG: Parameter Types and Values Not Displayed in Call Stack

SYMPTOMS

When 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.

CAUSE

This 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.

WORKAROUND

You could change the order of the method overloads so that the one you are
currently debugging is first in the class definition.

STATUS

Microsoft 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.

REFERENCES

For the support information on
Visual J++ and the SDK for Java, see the following page on the Microsoft
Technical Support site:
Propiedades

Id. de artículo: 157897 - Última revisión: 02/14/2017 - Revisión: 1

Microsoft Visual J++ 1.0 Standard Edition, Microsoft Visual J++ 1.1 Standard Edition

Comentarios