Forum Visual Studio


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Problems debugging in Xamarin Studio

JamesLaveryJamesLavery GBBeta, University ✭✭✭✭✭

One of my colleagues is having a lot of problems debugging in XS as described below.

Xamarin Support have suggested trying the Alpha release of XS which has some improvements in this area. Does anyone else have suggestions? This is impacting a release we're trying to get out!

His description of the problems (version information at the end):

I am currently having great difficulty in using Xamarin studio, on a Mac, to debug an application.

A lot of the time when the debugger is attached I am getting the following error output

error: * Assertion at ../../../../../mono/mono/mini/debugger-agent.c:5345, condition `sp' not met
Unable to find seq points for method 'System.Runtime.ExceptionServices.ExceptionDispatchInfo:Throw ()'.

The debugger is inconsistent and will sometimes not hit break points or when it does it a break point, the location of the interrupt is not displayed in the IDE. Further to this, setting a break point to halt execution on any exception is a useful feature. However, not being informed of where the exception is being raised means that I am left knowing that there is an issue and having to revert to debug statements to identify the location.

This is greatly impacting my productivity and delivery of the application.

Please can you advise the best cause of action to resolve the issue I am experiencing with the debugger.

Please can you ensure that all CCs are included on any response.

Xamarin Studio
Version 5.10.3 (build 27)
Installation UUID: 324c3673-6c26-4f0f-84bc-f27865d02bd4
Mono 4.2.3 (explicit/832de4b)
GTK+ 2.24.23 (Raleigh theme)

Package version: 402030004

Not Installed

Version: (Enterprise Edition)
Android SDK: /Users/jon/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
2.3 (API level 10)
4.0.3 (API level 15)
4.4 (API level 19)
5.0 (API level 21)

SDK Tools Version: 24.0.2
SDK Platform Tools Version: 21.0.0
SDK Build Tools Version: 21.1.2

Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

Android Designer EPL code available here:

Xamarin Android Player
Version: 0.2.5
Location: /Applications/Xamarin Android

Apple Developer Tools
Xcode 7.2.1 (9548.1)
Build 7C1002

Version: (Enterprise Edition)
Hash: 58ba2bc
Branch: master
Build date: 2016-03-03 09:05:19-0500

Not Installed

Build Information
Release ID: 510030027
Git revision: 8dc6bca63f5cd93719a093973e74de6999864193
Build date: 2016-03-17 17:13:33-04
Xamarin addins: 45239909442742bdee83a0c0f77eecb8a08bedfa
Build lane: monodevelop-lion-cycle6-c6sr2

Operating System
Mac OS X 10.11.3
Darwin sbsadmins-MacBook-Pro.local 15.3.0 Darwin Kernel Version 15.3.0
Thu Dec 10 18:40:58 PST 2015
root:xnu-3248.30.4~1/RELEASE_X86_64 x86_64

Sign In or Register to comment.