http://bugzilla.novell.com/show_bug.cgi?id=541052
Summary: Inspecting value type variable shows null value
Classification: Mono
Product: Mono: Debugger
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: backend
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Found By: ---
Program.cs
using System;
struct S
{
public static S Null = new S ();
}
class Program
{
static void Main (string[] args)
{
S s;
Environment.Exit (1);
}
}
>>>
Mono Debugger
(mdb) r
Starting program: bug-mdb.exe
Thread @1 stopped at #0: 0xb70362a2 in Program.Main(string[])+0xa at
/home/marek/svn/mcs/mcs/bug-mdb.cs:14.
14 Environment.Exit (1);
(mdb) p s
(S) { }
(mdb) p S.Null
(S) null
(mdb)
I don't think S.Null has value NULL.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs