Mono-D 1.8 - Conditional code highlighting

#Coder dcoder at outlook.com
Tue Apr 1 22:06:30 PDT 2014


I am getting following error when debugging a simple program and 
try to see a variable value in watch or immediate or locals 
window (OpenSuse Linux latest, latest MonoDevelop and latest 
Mono-D plug-in)


System.Reflection.TargetInvocationException: Exception has been 
thrown by the target of an invocation. ---> 
System.MissingMethodException: Method not found: 
'D_Parser.Resolver.ExpressionSemantics.ExpressionTypeEvaluation.EvaluateType'.
   at MonoDevelop.Debugger.Gdb.D.DGdbBacktrace.CreateVarObject 
(System.String exp) [0x00000] in <filename unknown>:0
   at MonoDevelop.Debugger.Gdb.GdbBacktrace.GetParameters (Int32 
frameIndex, Mono.Debugging.Client.EvaluationOptions options) 
[0x00000] in <filename unknown>:0
   at MonoDevelop.Debugger.Gdb.D.DGdbBacktrace.GetParameters 
(Int32 frameIndex, Mono.Debugging.Client.EvaluationOptions 
options) [0x00000] in <filename unknown>:0
   at MonoDevelop.Debugger.Gdb.GdbBacktrace.GetAllLocals (Int32 
frameIndex, Mono.Debugging.Client.EvaluationOptions options) 
[0x00000] in <filename unknown>:0
   at Mono.Debugging.Client.StackFrame.GetAllLocals 
(Mono.Debugging.Client.EvaluationOptions options) [0x00025] in 
/home/lx/Dokumente/Projects/monodevelop/main/external/debugger-libs/Mono.Debugging/Mono.Debugging.Client/StackFrame.cs:165
   at Mono.Debugging.Client.StackFrame.GetAllLocals () [0x00044] 
in 
/home/lx/Dokumente/Projects/monodevelop/main/external/debugger-libs/Mono.Debugging/Mono.Debugging.Client/StackFrame.cs:157
   at MonoDevelop.Debugger.LocalsPad.OnUpdateList () [0x0004b] in 
/home/lx/Dokumente/Projects/monodevelop/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/LocalsPad.cs:61
   at MonoDevelop.Debugger.ObjectValuePad.<Initialize>m__0 
(System.Object , System.EventArgs ) [0x0000d] in 
/home/lx/Dokumente/Projects/monodevelop/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/ObjectValuePad.cs:97
   at MonoDevelop.Ide.Gui.PadWindow.NotifyContentShown () 
[0x0003c] in 
/home/lx/Dokumente/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/IPadContainer.cs:305
   at 
MonoDevelop.Ide.Gui.DefaultWorkbench+<AddPad>c__AnonStorey0.<>m__2 
(System.Object , System.EventArgs ) [0x00017] in 
/home/lx/Dokumente/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/DefaultWorkbench.cs:1343
   at 
MonoDevelop.Components.Docking.DockItem.UpdateContentVisibleStatus 
() [0x00033] in 
/home/lx/Dokumente/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Docking/DockItem.cs:384
   at MonoDevelop.Components.Docking.DockItem.SetupContent 
(System.Object ob, System.EventArgs args) [0x0009f] in 
/home/lx/Dokumente/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Docking/DockItem.cs:211
   at (wrapper managed-to-native) 
System.Reflection.MonoMethod:InternalInvoke 
(System.Reflection.MonoMethod,object,object[],System.Exception&)
   at System.Reflection.MonoMethod.Invoke (System.Object obj, 
BindingFlags invokeAttr, System.Reflection.Binder binder, 
System.Object[] parameters, System.Globalization.CultureInfo 
culture) [0x00000] in <filename unknown>:0
   --- End of inner exception stack trace ---
   at System.Reflection.MonoMethod.Invoke (System.Object obj, 
BindingFlags invokeAttr, System.Reflection.Binder binder, 
System.Object[] parameters, System.Globalization.CultureInfo 
culture) [0x00000] in <filename unknown>:0
   at System.Reflection.MethodBase.Invoke (System.Object obj, 
System.Object[] parameters) [0x00000] in <filename unknown>:0
   at System.Delegate.DynamicInvokeImpl (System.Object[] args) 
[0x00000] in <filename unknown>:0
   at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] 
args) [0x00000] in <filename unknown>:0
   at System.Delegate.DynamicInvoke (System.Object[] args) 
[0x00000] in <filename unknown>:0
   at GLib.Signal.ClosureInvokedCB (System.Object o, 
GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0
   at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) 
[0x00000] in <filename unknown>:0
   at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, 
IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, 
IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in 
<filename unknown>:0


More information about the Digitalmars-d-announce mailing list