Bug 3772 - Index out of range when debugging to IPAD
Summary: Index out of range when debugging to IPAD
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Debugger ()
Version: 2.8.6
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Jeffrey Stedfast
Depends on:
Reported: 2012-03-06 14:33 UTC by Amanda
Modified: 2012-03-06 19:13 UTC (History)
1 user (show)

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

Screenshot of Monodevelop installation version info (81.41 KB, image/png)
2012-03-06 14:33 UTC, Amanda

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:

Description Amanda 2012-03-06 14:33:31 UTC
Created attachment 1465 [details]
Screenshot of Monodevelop installation version info

When debugging to the iPad the application window registers the following:

Please ensure your device is connected
Connected to: Amanda iPAD
Could not set catchpoint for exception 'System.ApplicationException'(Array index is out of range)

I have cleaned the solution and rebuilt. All breakpoints have been cleaned
I am on Xcode version 4.2, SDK 5.0, and MAc OS X : 10.6

The following error is displayed numerous times

System.IndexOutOfRangeException: Array index is out of range.
  at Mono.Debugger.Soft.Connection.encode_int (System.Byte[] buf, Int32 i, System.Int32& offset) [0x00030] in /Users/builder/data/lanes/monodevelop-mac- 
  at Mono.Debugger.Soft.Connection+PacketWriter.WriteString (System.String s) [0x0000e] in /Users/builder/data/lanes/monodevelop-mac- 
  at Mono.Debugger.Soft.Connection.EnableEvent (EventType etype, SuspendPolicy suspend_policy, System.Collections.Generic.List`1 mods) [0x002c9] in /Users/builder/data/lanes/monodevelop-mac- 
  at Mono.Debugger.Soft.EventRequest.SendReq (System.Collections.Generic.List`1 mods) [0x000a4] in /Users/builder/data/lanes/monodevelop-mac- 
  at Mono.Debugger.Soft.TypeLoadEventRequest.Enable () [0x00068] in /Users/builder/data/lanes/monodevelop-mac- 
  at Mono.Debugger.Soft.EventRequest.set_Enabled (Boolean value) [0x00012] in /Users/builder/data/lanes/monodevelop-mac- 
  at Mono.Debugging.Soft.SoftDebuggerSession.OnInsertBreakEvent (Mono.Debugging.Client.BreakEvent ev) [0x0031b] in /Users/builder/data/lanes/monodevelop-mac- 
  at Mono.Debugging.Client.DebuggerSession.AddBreakEvent (Mono.Debugging.Client.BreakEvent be) [0x00000] in /Users/builder/data/lanes/monodevelop-mac-
Comment 1 Jeffrey Stedfast 2012-03-06 14:50:29 UTC
Hi Amanda,

There was a similar issue fixed in MonoDevelop (the current Beta).

Would you be able to verify that the fix in fixes this issue for you?

Comment 2 Amanda 2012-03-06 17:39:42 UTC
Hi Jeffrey

Problem solved with Monodevelop Beta - Thanks a stack !!

JustEnough Software
Comment 3 Jeffrey Stedfast 2012-03-06 19:13:51 UTC
No prob! Glad that it's fixed!