BUG: Derived-Type with Pointer Expands Incorrectly in DebuggerLast reviewed: March 18, 1996Article ID: Q148608 |
The information in this article applies to:
SYMPTOMSWhen you debug a derived-type variable that contains a pointer to another derived-type object and you try to view the members of the pointed to object in a watch window, it fails. This causes the pointer to member structure to be incorrectly expanded out.
STATUSMicrosoft has confirmed this to be a bug 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 ProblemBuild the following sample code in Developer Studio with the /Zi compiler option, and then perform the following steps:
Invalid structure member Sample CodeC Compile options needed: /Zi
module types type t_leaf integer i end type t_leaf type t_branch type (t_leaf), pointer :: l end type type t_root type (t_branch) b end type end module types program main use types implicit none type (t_root) root allocate( root%b%l ) root%b%l%i = 5 end program main |
Additional reference words: 4.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |