[Mono-bugs] [Bug 537091] New: Remote debugger: Nullreference when hovering instance variable.
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Sep 6 12:05:36 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=537091
Summary: Remote debugger: Nullreference when hovering instance
variable.
Classification: Mono
Product: Mono: Tools
Version: 2.4.x
Platform: x86-64
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Visual Studio Integration
AssignedTo: jpobst at novell.com
ReportedBy: loftum at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: Component Test
Description of Problem:
During a debugging session, I want to hover a variable, and get the values of
its properties.
When I hover the variable, and press the plus-sign of the small property
window/square that appears, I get a message window with a Nullreference
exception.
I don't get any info about the variable.
Steps to reproduce the problem:
1. Open the attached ASP.NET solution (AspNetDemo.sln) in Visual Studio with
Mono Tools installed.
2. add a breakpoint at Default.aspx.cs at line 24:
Line 24: IList<Data> dataList = _dataDao.GetData(); // Bookmark this line
Line 25: DataTable dataTable = CreateDataTable();
3. Start a remote debugging session of the application.
4. When the bookmark highlights, "step over" to line 25.
5. Hover the variable dataList, and press the plus-sign in the small variable
window that appears.
Actual Results:
ERROR: Format Object:
System.NullReferenceException: Object reference not set to an instance of an
object
at Mono.VisualStudio.Mdb.ObjectFormatter.DoFormatObject
(Mono.VisualStudio.Mdb.ServerProperty property,
Mono.Debugger.Languages.TargetObject obj) [0x00000] in
/usr/src/packages/BUILD/monovs-server-0.3/MonoVS.DebugServer/ObjectFormatter.cs:172
at Mono.VisualStudio.Mdb.ObjectFormatter.FormatObject
(Mono.VisualStudio.Mdb.ServerProperty property) [0x00000] in
/usr/src/packages/BUILD/monovs-server-0.3/MonoVS.DebugServer/ObjectFormatter.cs:161
Expected Results:
The window should expand with the variable's properties and values.
How often does this happen?
Every time.
Additional Information:
The solution in which the problem appears is attached.
Development machine: Win XP Pro
Target machine: SuSE VMWare image provided with Mono tools for Visual Studio
preview version (On VMWare player).
--
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