PR# 15708 Incorrect VUOT error being reported in debugger watch window
Problem Report Summary
Submitter: manus_eiffel
Category: Debugger
Priority: Medium
Date: 2009/04/27
Class: Bug
Severity: Serious
Number: 15708
Release: 6.4.7.8382
Confidential: No
Status: Closed
Responsible:
Environment: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.0.9) Gecko/2009040821 Firefox/3.0.9 (.NET CLR 3.5.30729)
Synopsis: Incorrect VUOT error being reported in debugger watch window
Description
I was trying to evaluate the value of `l_name' which is a true local variable of that routine. In this routine, I'm using twice `l_library' as an object test local and the debugger is confused about that as you can see in the error below reported by the debugger watch window. Error on expression : "l_name" [VUOT] Error VUOT Error code: VUOT(1) Error: Object-Test Local has the same lower name as a feature of the enclosing class, or a formal argument or local variable of an enclosing feature or Inline_agent, or other Object-Test Local with the scope where this Object_test or its scope appears. What to do: choose a different name for Object-Test Local. Class: EB_COMPARE_LIBRARY_CLASSES_TOOL Feature: compare_libraries Object-Test Local: l_library Line: 234 end -> if attached {CONF_LIBRARY} l_cluster2 as l_library and then l_library.name_prefix /= Void then create l_new_classes.make (l_classes2.count)
To Reproduce
Problem Report Interactions
fixed by rev#78412