This is Xamarin's bug tracking system. For product support, please use the support links listed in your Xamarin Account.
Bug 2246 - Exception when SDB calls ToString on an object
: Exception when SDB calls ToString on an object
Status: RESOLVED FIXED
Product: Debugger
Classification: Mono
Component: backend
: unspecified
: PC Mac OS
: Normal normal
: ---
Assigned To: Bugzilla
:
:
:
:
  Show dependency treegraph
 
Reported: 2011-11-29 07:46 EST by Alan McGovern
Modified: 2012-12-21 23:37 EST (History)
2 users (show)

See Also:
Tags:
Test Case URL:
External Submit: ---


Attachments

Description Alan McGovern 2011-11-29 07:46:51 EST
ERROR [2011-11-25 14:18:39Z]: Error in soft debugger method call thread on
method String System.Exception:ToString () on object
System.NullReferenceException
Mono.Debugger.Soft.ObjectCollectedException: The requested operation cannot be
completed because the object has been garbage collected.
  at Mono.Debugger.Soft.VirtualMachine.ErrorHandler (System.Object sender,
Mono.Debugger.Soft.ErrorHandlerEventArgs args) [0x00041] in
/private/tmp/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/VirtualMachine.cs:278 
  at Mono.Debugger.Soft.Connection.SendReceive (CommandSet command_set, Int32
command, Mono.Debugger.Soft.PacketWriter packet) [0x000d5] in
/private/tmp/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs:1376 
  at Mono.Debugger.Soft.Connection.Object_GetDomain (Int64 id) [0x00000] in
/private/tmp/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs:2066 
  at Mono.Debugger.Soft.VirtualMachine.GetObject[StringMirror] (Int64 id, Int64
domain_id, Int64 type_id) [0x0008d] in
/private/tmp/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/VirtualMachine.cs:468 
  at Mono.Debugger.Soft.VirtualMachine.GetObject[StringMirror] (Int64 id)
[0x00000] in
/private/tmp/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/VirtualMachine.cs:491 
  at Mono.Debugger.Soft.VirtualMachine.DecodeValue
(Mono.Debugger.Soft.ValueImpl v) [0x0007a] in
/private/tmp/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/VirtualMachine.cs:533 
  at Mono.Debugger.Soft.ObjectMirror.EndInvokeMethodInternal (IAsyncResult
asyncResult) [0x000b0] in
/private/tmp/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/ObjectMirror.cs:271 
  at Mono.Debugger.Soft.ObjectMirror.EndInvokeMethod (IAsyncResult asyncResult)
[0x00000] in
/private/tmp/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/ObjectMirror.cs:144 
  at Mono.Debugging.Soft.MethodCall.EndInvoke () [0x00010] in
/private/tmp/source/monodevelop/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerAdaptor.cs:1119 
Mono.Debugging.Evaluation.EvaluatorException: The requested operation cannot be
completed because the object has been garbage collected.
  at Mono.Debugging.Soft.MethodCall.get_ReturnValue () [0x00029] in
/private/tmp/source/monodevelop/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerAdaptor.cs:1182 
  at Mono.Debugging.Soft.SoftEvaluationContext.RuntimeInvoke
(Mono.Debugger.Soft.MethodMirror method, System.Object target,
Mono.Debugger.Soft.Value[] values) [0x00119] in
/private/tmp/source/monodevelop/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftEvaluationContext.cs:133 
  at Mono.Debugging.Soft.SoftDebuggerAdaptor.CallToString
(Mono.Debugging.Evaluation.EvaluationContext ctx, System.Object obj) [0x00123]
in
/private/tmp/source/monodevelop/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerAdaptor.cs:71 
  at Mono.Debugging.Evaluation.ObjectValueAdaptor.TargetObjectToObject
(Mono.Debugging.Evaluation.EvaluationContext ctx, System.Object obj) [0x00349]
in
/private/tmp/source/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/ObjectValueAdaptor.cs:811 
  at Mono.Debugging.Soft.SoftDebuggerAdaptor.TargetObjectToObject
(Mono.Debugging.Evaluation.EvaluationContext gctx, System.Object obj) [0x000c4]
in
/private/tmp/source/monodevelop/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerAdaptor.cs:1047 
  at Mono.Debugging.Evaluation.ExpressionEvaluator.TargetObjectToExpression
(Mono.Debugging.Evaluation.EvaluationContext ctx, System.Object obj) [0x00000]
in
/private/tmp/source/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/ExpressionEvaluator.cs:80 
  at Mono.Debugging.Evaluation.ObjectValueAdaptor.CreateObjectValueImpl
(Mono.Debugging.Evaluation.EvaluationContext ctx, IObjectValueSource source,
ObjectPath path, System.Object obj, ObjectValueFlags flags) [0x000fb] in
/private/tmp/source/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/ObjectValueAdaptor.cs:310 
  at Mono.Debugging.Evaluation.ObjectValueAdaptor.CreateObjectValue
(Mono.Debugging.Evaluation.EvaluationContext ctx, IObjectValueSource source,
ObjectPath path, System.Object obj, ObjectValueFlags flags) [0x00000] in
/private/tmp/source/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/ObjectValueAdaptor.cs:66
Comment 2 Zoltan Varga 2012-12-21 23:37:38 EST
Fixed in master/mobile-master.

Note You need to log in before you can comment on or make changes to this bug.