Bug 1421 - Error in soft debugger method call thread on method Int32 System.Threading.Tasks.Task:get_Id () on object System.Threading.Tasks.Task
Summary: Error in soft debugger method call thread on method Int32 System.Threading.Ta...
Status: RESOLVED DUPLICATE of bug 1637
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Debugger ()
Version: unspecified
Hardware: PC Linux
: --- major
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-10-11 13:34 UTC by Marek Safar
Modified: 2011-10-23 13:16 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED DUPLICATE of bug 1637

Description Marek Safar 2011-10-11 13:34:19 UTC
Error in soft debugger method call thread on method Int32 System.Threading.Tasks.Task:get_Id () on object System.Threading.Tasks.Task
System.InvalidOperationException: The vm is not suspended.
  at Mono.Debugger.Soft.VirtualMachine.ErrorHandler (System.Object sender, Mono.Debugger.Soft.ErrorHandlerEventArgs args) [0x0004d] in /home/marek/git/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/VirtualMachine.cs:252 
  at Mono.Debugger.Soft.ObjectMirror.EndInvokeMethodInternal (IAsyncResult asyncResult) [0x0003a] in /home/marek/git/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/ObjectMirror.cs:234 
  at Mono.Debugger.Soft.ObjectMirror.EndInvokeMethod (IAsyncResult asyncResult) [0x00000] in /home/marek/git/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/ObjectMirror.cs:119 
  at Mono.Debugging.Soft.MethodCall.EndInvoke () [0x00010] in /home/marek/git/monodevelop/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerAdaptor.cs:1096 
Mono.Debugging.Evaluation.EvaluatorException: The vm is not suspended.
  at Mono.Debugging.Soft.MethodCall.get_ReturnValue () [0x00029] in /home/marek/git/monodevelop/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerAdaptor.cs:1159 
  at Mono.Debugging.Soft.SoftEvaluationContext.RuntimeInvoke (Mono.Debugger.Soft.MethodMirror method, System.Object target, Mono.Debugger.Soft.Value[] values) [0x00114] in /home/marek/git/monodevelop/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftEvaluationContext.cs:133 
  at Mono.Debugging.Soft.PropertyValueReference.get_Value () [0x00017] in /home/marek/git/monodevelop/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/PropertyValueReference.cs:100 
  at Mono.Debugging.Evaluation.ObjectValueAdaptor.EvaluateDisplayString (Mono.Debugging.Evaluation.EvaluationContext ctx, System.Object obj, System.String exp) [0x0007f] in /home/marek/git/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/ObjectValueAdaptor.cs:934 
  at Mono.Debugging.Evaluation.ObjectValueAdaptor.CreateObjectValueImpl (Mono.Debugging.Evaluation.EvaluationContext ctx, IObjectValueSource source, ObjectPath path, System.Object obj, ObjectValueFlags flags) [0x000e1] in /home/marek/git/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/ObjectValueAdaptor.cs:308 
  at Mono.Debugging.Evaluation.ObjectValueAdaptor.CreateObjectValue (Mono.Debugging.Evaluation.EvaluationContext ctx, IObjectValueSource source, ObjectPath path, System.Object obj, ObjectValueFlags flags) [0x00000] in /home/marek/git/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/ObjectValueAdaptor.cs:66
Comment 1 Marek Safar 2011-10-11 13:37:36 UTC
Not sure if it helps but it happens when JIT is inside infinite WaitHandle.WaitAny and I do break in debugger
Comment 2 Marek Safar 2011-10-23 13:16:09 UTC

*** This bug has been marked as a duplicate of bug 1637 ***