PR# 12803 Unable to evaluate .NET function call

Problem Report Summary
Submitter: paulbates
Category: Debugger
Priority: Medium
Date: 2007/05/21
Class: Bug
Severity: Serious
Number: 12803
Release: 6.0.6.8510
Confidential: No
Status: Closed
Responsible:
Environment: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Synopsis: Unable to evaluate .NET function call

Description
When trying to evaluate a function on SYSTEM_OBJECT using an attached Eiffel type (non-single) the function evaluation fail:

Error on expression : "l_so.get_type"

Unable to get ICorDebugFunction
--------------------------
Unable to evaluate : GetType on <0x02771798>
-----------------------------------
Unable to get ICorDebugFunction
--------------------------
Unable to evaluate : GetType on <0x02771798>
-----------------------------------
EXTERNAL_B => An error occurred during the evaluation of external call : get_type
To Reproduce
Define the following class:
    class
        A
    create
        make 
    feature
        make
            do
            end
    end

And use it like:

    class
        TEST
    create
        make
    feature
        make
            local
                l_a: A
                l_so: SYSTEM_OBJECT
            do
                create l_a.make
                l_so ?= l_a
            end

On the last breakable position (end) try to evaluate l_so.get_type, which is a member of SYSTEM_OBJECT. l_so is attached so the function call should succeed.
Problem Report Interactions
From:jfiat_es    Date:2007/05/22    Status: Closed    Download   
Fixed by revision rev#68553