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

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


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


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 FIXED

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-2.8.6.5/96a2067d/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs:625 
  at Mono.Debugger.Soft.Connection+PacketWriter.WriteString (System.String s) [0x0000e] in /Users/builder/data/lanes/monodevelop-mac-2.8.6.5/96a2067d/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs:878 
  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-2.8.6.5/96a2067d/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs:2016 
  at Mono.Debugger.Soft.EventRequest.SendReq (System.Collections.Generic.List`1 mods) [0x000a4] in /Users/builder/data/lanes/monodevelop-mac-2.8.6.5/96a2067d/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/EventRequest.cs:106 
  at Mono.Debugger.Soft.TypeLoadEventRequest.Enable () [0x00068] in /Users/builder/data/lanes/monodevelop-mac-2.8.6.5/96a2067d/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/TypeLoadEventRequest.cs:40 
  at Mono.Debugger.Soft.EventRequest.set_Enabled (Boolean value) [0x00012] in /Users/builder/data/lanes/monodevelop-mac-2.8.6.5/96a2067d/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/EventRequest.cs:50 
  at Mono.Debugging.Soft.SoftDebuggerSession.OnInsertBreakEvent (Mono.Debugging.Client.BreakEvent ev) [0x0031b] in /Users/builder/data/lanes/monodevelop-mac-2.8.6.5/96a2067d/source/monodevelop/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerSession.cs:790 
  at Mono.Debugging.Client.DebuggerSession.AddBreakEvent (Mono.Debugging.Client.BreakEvent be) [0x00000] in /Users/builder/data/lanes/monodevelop-mac-2.8.6.5/96a2067d/source/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Client/DebuggerSession.cs:544
Comment 1 Jeffrey Stedfast 2012-03-06 14:50:29 UTC
Hi Amanda,

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

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

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

Problem solved with Monodevelop 2.8.8.1 Beta - Thanks a stack !!


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