[Mono-bugs] [Bug 468668] New: System.InvalidCastException on Local variables
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Jan 22 18:05:34 EST 2009
https://bugzilla.novell.com/show_bug.cgi?id=468668
Summary: System.InvalidCastException on Local variables
Classification: Mono
Product: MonoDevelop
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: debugger
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: scott.ellington at gmail.com
QAContact: monodevelop-bugs at lists.ximian.com
Found By: ---
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5)
Gecko/2008121300 SUSE/3.0.5-1.1 Firefox/3.0.5
When debugging an app, I get "Cannot cast from source type to destination type"
for variables in the Locals window. The full exception is:
ENUM: Mono.Debugger.Languages.TargetFundamentalObject
System.InvalidCastException: Cannot cast from source type to destination type.
at DebuggerServer.Util.CreateObjectValueImpl
(DebuggerServer.EvaluationContext ctx, IObjectValueSource source, ObjectPath
path, Mono.Debugger.Languages.TargetObject obj, ObjectValueFlags flags)
[0x001fd] in
/home/scottell/sandbox/monodevelop/monodevelop/extras/MonoDevelop.Debugger.Mdb/Mono.Debugging.Server.Mdb/Util.cs:107
at DebuggerServer.Util.CreateObjectValue (DebuggerServer.EvaluationContext
ctx, IObjectValueSource source, ObjectPath path,
Mono.Debugger.Languages.TargetObject obj, ObjectValueFlags flags) [0x00000] in
/home/scottell/sandbox/monodevelop/monodevelop/extras/MonoDevelop.Debugger.Mdb/Mono.Debugging.Server.Mdb/Util.cs:45
Reproducible: Always
Steps to Reproduce:
Reproduce:
1) check out: http://code.google.com/p/cumberland/source/checkout
2) set Cumberland.DrawMap as startup project
3) set breakpoint on Cumberland.DrawMap.MainClass.Main()
4) debug and step through. Local variables in local window should produce the
above error
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the mono-bugs
mailing list