Hi Chris, MonoDevelop should definitely not crash (or break in any way) in this case, so I will look into this issue.
Do you happen to know where the stale breakpoints were located? I.e. were they beyond the end of a file? Or were they just in odd places between method or something? Just trying to get as much info about the problem as I can so I can attempt to duplicate it. Thanks, Jeff On Wed, Feb 22, 2012 at 12:31 AM, Tossing, Chris <[email protected]>wrote: > Mike,**** > > ** ** > > Thank you for the suggestion. It looks like it may have actually had > something to do with stale breakpoints/breakpoints out of sync with the > lines in the code or something related. I feel like it may be that the > breakpoint line numbers aren’t getting synchronized when the code is > changed outside of MonoDevelop. We are actually doing most of our editing > in Visual Studio - MonoDevelop opens the solution file on my Windows > share. We use the Macs primarily for UI design and deploying/debugging. > Clearing all of my breakpoints seemed to solve the problem - since I did > that, I have not gotten any more of those errors.**** > > ** ** > > If this is an accurate assessment of the problem, it would be a very > helpful feature to have MonoDevelop track changes to the files (maybe using > a modified date) that have breakpoints set in them and update the > breakpoint line numbers if the file has changed since MonoDevelop last > performed a save on it.**** > > ** ** > > Thank you,**** > > ** ** > > *Chris Tossing* > > Software Engineer**** > > G4S Technology Software Solutions LLC**** > > Direct Dial: +1 (781) 457-0779**** > > Cell: +1 (847) 942-0359**** > > [email protected]**** > > www.1f.com**** > > 21 North Avenue, Burlington, Massachusetts 01803 USA**** > > ** ** > > P *Please consider the environment before printing this email***** > > ** ** > > *From:* Mike Bluestein [mailto:[email protected]] > *Sent:* Tuesday, February 21, 2012 9:38 PM > *To:* Tossing, Chris > *Cc:* [email protected] > *Subject:* Re: [MonoTouch] Mono.Debugger.Soft.Connection.encode_int - > System.IndexOutOfRangeException: Array index is out of range.**** > > ** ** > > Hi Chris,**** > > ** ** > > Try doing a Build > Clean All**** > > On Tue, Feb 21, 2012 at 5:20 PM, Tossing, Chris <[email protected]> > wrote:**** > > I have been getting the below exception when trying to debug on a device. > It throws up *a lot* of message boxes displaying the following error > details. Any ideas what is causing this? > > 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 > > Note: I am using the latest version of MonoTouch/MonoDevelop, but I > noticed this happening before upgrading. > > Thank you, > > Chris > > The details of this company are as follows: > G4S Technology Limited, Registered Office: Challenge House, International > Drive, Tewkesbury, Gloucestershire GL20 8UQ, Registered in England No. > 2382338. > > This communication may contain information which is confidential, personal > and/or privileged. > > It is for the exclusive use of the intended recipient(s). > If you are not the intended recipient(s), please note that any > distribution, forwarding, copying or use of this communication or the > information in it is strictly prohibited. > > Any personal views expressed in this e-mail are those of the individual > sender and the company does not endorse or accept responsibility for them. > > Prior to taking any action based upon this e-mail message, you should seek > appropriate confirmation of its authenticity. > > This e-mail has been scanned for all viruses by MessageLabs. > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch**** > > ** ** > > ------------------------------ > The details of this company are as follows: > G4S Technology Limited, Registered Office: Challenge House, International > Drive, Tewkesbury, Gloucestershire GL20 8UQ, Registered in England No. > 2382338. > > This communication may contain information which is confidential, personal > and/or privileged. > > It is for the exclusive use of the intended recipient(s). > If you are not the intended recipient(s), please note that any > distribution, forwarding, copying or use of this communication or the > information in it is strictly prohibited. > > Any personal views expressed in this e-mail are those of the individual > sender and the company does not endorse or accept responsibility for them. > > Prior to taking any action based upon this e-mail message, you should seek > appropriate confirmation of its authenticity. > > This e-mail has been scanned for all viruses by MessageLabs. > > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch > >
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
