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
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to