[Mono-bugs] [Bug 574544] New: Unknown evaluation result: InvalidExpression No such variable or type: `Environment.OSVersion'

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jan 27 17:12:55 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=574544

http://bugzilla.novell.com/show_bug.cgi?id=574544#c0


           Summary: Unknown evaluation result: InvalidExpression No such
                    variable or type: `Environment.OSVersion'
    Classification: Mono
           Product: Mono: Tools
           Version: MonoVS 1.1
          Platform: i686
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Visual Studio Integration
        AssignedTo: jpobst at novell.com
        ReportedBy: novell at balsover.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3)
Gecko/20070309 Firefox/2.0.0.3 (.NET CLR 3.5.30729)

The monotools debugger cannot see this variable

private void button1_Click(object sender, EventArgs e)
{
   if (Environment.OSVersion.Platform != PlatformID.Unix)
   {
      testme = new TestClass();
   }
   test = true;
}

The above code works correctly, but I can't read the value of
Environment.OSVersion.Platform in the debugger

Reproducible: Always

Steps to Reproduce:
1. create simple program with the above code in it set a break point
2. when the break point is reached attempt to read the value of
Environment.OSVersion.Platform
3.
Actual Results:  
I get the stated error

Expected Results:  
the value of Environment.OSVersion.Platform is listed

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list