[MonoDevelop] No longer able to get debug information & Mono.Cecil error

Steve Ricketts velocedge at hotmail.com
Mon Apr 12 11:31:50 EDT 2010


I'm working on a USB reading problem and switching from Linux to Windows with
MonoDevelop to compare results.  I'm using 2.2.2 in openSUSE Linux and
noticed that there was a new version available for Windows so I installed
2.2.2 on the Windows XP box and ran my program.  

I have two problems.  

(1) When I try to look at a parameter value (by mousing over or typing the
name in the immediate window) it says "Evaluation failed".  So something
happened to the debugger.

(2) When the execution hits the line: "while (comport.BytesToRead > 0)" I
get an error that says:
System.IO.FileNotFoundException: Could not load file or assembly
'Mono.Cecil, Version=0.6.9.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756' or one of its dependencies. The system
cannot find the file specified

If it matters, I didn't uninstall MonoDevelop 2.2 before I installed
2.2.2... and not really sure who Mono.Cecil is.  I see there is a Mono-Cecil
forum so I hope I'm not in the wrong forum again.  Any help is greatly
appreciated.

Steve



Loaded assembly: D:\Data\Mono\test\test\bin\Debug\test.exe
Loaded assembly: C:\Program
Files\Mono-2.6.1\lib\mono\gac\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll
[External]
Loaded assembly: C:\Program
Files\Mono-2.6.1\lib\mono\gac\System\2.0.0.0__b77a5c561934e089\System.dll
[External]
Loaded assembly: C:\Program
Files\Mono-2.6.1\lib\mono\gac\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll
[External]
Loaded assembly: C:\Program
Files\Mono-2.6.1\lib\mono\gac\Accessibility\2.0.0.0__b03f5f7f11d50a3a\Accessibility.dll
[External]
Loaded assembly: D:\Data\Mono\test\test\bin\Debug\dlTextCS.dll
Loaded assembly: D:\Data\Mono\test\test\bin\Debug\CADEserial.dll
Loaded assembly: C:\Program
Files\Mono-2.6.1\lib\mono\gac\Mono.Posix\2.0.0.0__0738eb9f132ed756\Mono.Posix.dll
[External]
Resolved pending breakpoint at 'Form1.cs:30' to Void test.Form1:Form1_Load
():57.
Resolved pending breakpoint at 'Ports.cs:424' to Void
CADEserial.Ports:getPortData ():1138.
Resolved pending breakpoint at 'Ports.cs:273' to Void
CADEserial.Ports:initializeComm ():836.
System.IO.FileNotFoundException: Could not load file or assembly
'Mono.Cecil, Version=0.6.9.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756' or one of its dependencies. The system
cannot find the file specified.

File name: 'Mono.Cecil, Version=0.6.9.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756'

   at Mono.Debugger.Soft.StackFrame.GetThis()

   at
MonoDevelop.Debugger.Soft.SoftDebuggerAdaptor.GetThisReference(EvaluationContext
ctx)

   at Mono.Debugging.Evaluation.EvaluatorVisitor.VisitIdentifier(String
name)

   at
Mono.Debugging.Evaluation.EvaluatorVisitor.VisitIdentifierExpression(IdentifierExpression
identifierExpression, Object data)

   at
ICSharpCode.NRefactory.Ast.IdentifierExpression.AcceptVisitor(IAstVisitor
visitor, Object data)

   at
Mono.Debugging.Evaluation.EvaluatorVisitor.VisitMemberReferenceExpression(MemberReferenceExpression
memberReferenceExpression, Object data)

   at
ICSharpCode.NRefactory.Ast.MemberReferenceExpression.AcceptVisitor(IAstVisitor
visitor, Object data)

   at
Mono.Debugging.Evaluation.NRefactoryEvaluator.Evaluate(EvaluationContext
ctx, String exp, Object expectedType)

   at
Mono.Debugging.Evaluation.ExpressionEvaluator.Evaluate(EvaluationContext
ctx, String exp)

   at
Mono.Debugging.Evaluation.ObjectValueAdaptor.GetExpressionValue(EvaluationContext
ctx, String exp)



WRN: Assembly binding logging is turned OFF.

To enable assembly bind failure logging, set the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.

Note: There is some performance penalty associated with assembly bind
failure logging.

To turn this feature off, remove the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog].

System.IO.FileNotFoundException: Could not load file or assembly
'Mono.Cecil, Version=0.6.9.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756' or one of its dependencies. The system
cannot find the file specified.

File name: 'Mono.Cecil, Version=0.6.9.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756'

   at Mono.Debugger.Soft.StackFrame.GetThis()

   at
MonoDevelop.Debugger.Soft.SoftDebuggerAdaptor.GetThisReference(EvaluationContext
ctx)

   at Mono.Debugging.Evaluation.EvaluatorVisitor.VisitIdentifier(String
name)

   at
Mono.Debugging.Evaluation.EvaluatorVisitor.VisitIdentifierExpression(IdentifierExpression
identifierExpression, Object data)

   at
ICSharpCode.NRefactory.Ast.IdentifierExpression.AcceptVisitor(IAstVisitor
visitor, Object data)

   at
Mono.Debugging.Evaluation.NRefactoryEvaluator.Evaluate(EvaluationContext
ctx, String exp, Object expectedType)

   at
Mono.Debugging.Evaluation.ExpressionEvaluator.Evaluate(EvaluationContext
ctx, String exp)

   at
Mono.Debugging.Evaluation.ObjectValueAdaptor.GetExpressionValue(EvaluationContext
ctx, String exp)



WRN: Assembly binding logging is turned OFF.

To enable assembly bind failure logging, set the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.

Note: There is some performance penalty associated with assembly bind
failure logging.

To turn this feature off, remove the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog].

System.IO.FileNotFoundException: Could not load file or assembly
'Mono.Cecil, Version=0.6.9.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756' or one of its dependencies. The system
cannot find the file specified.

File name: 'Mono.Cecil, Version=0.6.9.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756'

   at Mono.Debugger.Soft.StackFrame.GetValue(LocalVariable var)

   at MonoDevelop.Debugger.Soft.VariableValueReference.get_Value()

   at Mono.Debugging.Evaluation.ValueReference.OnCreateObjectValue()

   at Mono.Debugging.Evaluation.ValueReference.CreateObjectValue()



WRN: Assembly binding logging is turned OFF.

To enable assembly bind failure logging, set the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.

Note: There is some performance penalty associated with assembly bind
failure logging.

To turn this feature off, remove the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog].

System.IO.FileNotFoundException: Could not load file or assembly
'Mono.Cecil, Version=0.6.9.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756' or one of its dependencies. The system
cannot find the file specified.

File name: 'Mono.Cecil, Version=0.6.9.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756'

   at Mono.Debugger.Soft.StackFrame.GetValue(LocalVariable var)

   at MonoDevelop.Debugger.Soft.VariableValueReference.get_Value()

   at Mono.Debugging.Evaluation.ValueReference.OnCreateObjectValue()

   at Mono.Debugging.Evaluation.ValueReference.CreateObjectValue()



WRN: Assembly binding logging is turned OFF.

To enable assembly bind failure logging, set the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.

Note: There is some performance penalty associated with assembly bind
failure logging.

To turn this feature off, remove the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog].



-- 
View this message in context: http://n4.nabble.com/No-longer-able-to-get-debug-information-Mono-Cecil-error-tp1837306p1837306.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.


More information about the Monodevelop-list mailing list