Bug 23830 - Intermittent error debugging
Summary: Intermittent error debugging
Status: RESOLVED DUPLICATE of bug 21653
Alias: None
Product: Runtime
Classification: Mono
Component: Debugger ()
Version: 3.4.0
Hardware: PC Mac OS
: --- major
Target Milestone: ---
Assignee: Zoltan Varga
URL:
Depends on:
Blocks:
 
Reported: 2014-10-15 00:48 UTC by Cody Beyer (MSFT)
Modified: 2015-02-20 12:27 UTC (History)
12 users (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 GitHub or Developer Community 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 21653

Description Cody Beyer (MSFT) 2014-10-15 00:48:45 UTC
The following exception is occuring at breakpoints within Mono on both Xamarin Studio and Visual Studio:

Mono.Debugger.Soft.CommandException: Debuggee returned error code 200.
at Mono.Debugger.Soft.VirtualMachine.ErrorHandler(Object sender, ErrorHandlerEventArgs args)
at Mono.Debugger.Soft.Connection.SendReceive(CommandSet command_set, Int32 command, PacketWriter packet)
at Mono.Debugger.Soft.Connection.Method_GetCustomAttributes(Int64 id, Int64 attr_type_id, Boolean inherit)
at Mono.Debugger.Soft.MethodMirror.GetCAttrs(TypeMirror type, Boolean inherit)
at Mono.Debugger.Soft.MethodMirror.GetCustomAttributes(TypeMirror attributeType, Boolean inherit)
at Mono.Debugging.Soft.SoftDebuggerBacktrace.CreateStackFrame(StackFrame frame, Int32 frameIndex)
at Mono.Debugging.Soft.SoftDebuggerBacktrace.GetStackFrames(Int32 firstIndex, Int32 lastIndex)
at Mono.Debugging.Client.Backtrace.GetFrame(Int32 n)
at Mono.Debugging.Client.Backtrace..ctor(IBacktrace serverBacktrace)
at Mono.Debugging.Soft.SoftDebuggerSession.GetThreadBacktrace(ThreadMirror thread)
at Mono.Debugging.Soft.SoftDebuggerSession.HandleBreakEventSet(Event[] es, Boolean dequeuing)
at Mono.Debugging.Soft.SoftDebuggerSession.HandleEventSet(EventSet es)
at Mono.Debugging.Soft.SoftDebuggerSession.EventHandler()

So far the most accurate version information I have is:

Xamarin 3.7.203.0 (ff146f5240189a2ec6d3c6f75cf3967f79c79a18)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android 4.18.0.34 (3b7ef0a796e8744972c48034403a6e7cb7ec189e)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS 8.2.0.0 (65b2f3a0f52f365b90ac952f0ec2e40fa0b510d4)
Visual Studio extension to enable development for Xamarin.iOS.

Recreation is incredibly difficult due to the nature of the issue. Example project where the issue has occurred will be added as private.

Thanks!
Comment 3 josea 2014-10-20 16:17:57 UTC
I have the same issue with VS2012, Xamarin 3.8.13.0, Xamarin.Android 4.18.0.34.

For me the error seems to happen every single time.
Comment 7 Zoltan Varga 2014-10-28 02:49:52 UTC
This is a the same as:
https://bugzilla.xamarin.com/show_bug.cgi?id=21653
Comment 8 charles.buffet 2014-11-05 06:05:38 UTC
Any Update ?
This seems to be related to the use of Task async await
Comment 9 Zoltan Varga 2014-11-05 13:56:26 UTC

*** This bug has been marked as a duplicate of bug 21653 ***
Comment 10 charles.buffet 2014-11-05 14:55:01 UTC
Not allowed to access even logged
Comment 11 Zoltan Varga 2014-11-05 17:30:09 UTC
This issue is already fixed, the fix will be in the upcoming xamarin.android 4.20 release.
Comment 12 Gerhardt 2014-11-07 04:28:22 UTC
Hi. Any idea when xamarin.adnroid 4.20 will be released?