Since update cannot hit any breakpoints in iOS simulator or Android simulator

This seems silly but I had a working Xamarin Forms project i was happily in the middle of coding. I had updated my VS for Mac to Preview 6 (7.0 Build 2715) and can no longer hit breakpoints in either emulator. I have reset emulators, wiped them, cleaned, rebuilt, basically everything I can find in threads across the emulator and am kind of stuck. Unfortunate timing as I was going to release last week but that is on me for updating. Any thoughts as to how to solve this or places for me to look?

Posts

  • dwhiteddsoftdwhiteddsoft USMember ✭✭

    All relevant system info:
    Visual Studio for Mac Preview
    Version Preview 6 (7.0 build 2715)
    Installation UUID: 5cec5d67-c5d4-48c1-99cf-dfed4805d788
    Runtime:
    Mono 5.0.0.42 (2017-02/dda961c) (64-bit)
    GTK+ 2.24.23 (Raleigh theme)

    Package version: 500000042
    

    NuGet
    Version: 4.0.0.2323

    Xamarin.Profiler
    Version: 1.2.0
    Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

    .NET Core
    Runtime: /usr/local/share/dotnet/dotnet
    SDK: /usr/local/share/dotnet/sdk/1.0.0-rc4-004915/Sdks
    MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.0.0/lib/mono/msbuild/15.0/bin/Sdks

    Apple Developer Tools
    Xcode 8.3 (12169)
    Build 8E162

    Xamarin.Mac
    Version: 3.0.0.393 (Visual Studio Enterprise)

    Xamarin.iOS
    Version: 10.4.0.123 (Visual Studio Enterprise)
    Hash: 35d1ccd
    Branch: cycle9
    Build date: 2017-02-16 17:40:00-0500

    Xamarin.Android
    Version: 7.1.0.41 (Visual Studio Enterprise)
    Android SDK: /Users/davidwhite/Library/Developer/Xamarin/android-sdk-macosx
    Supported Android versions:
    6.0 (API level 23)
    7.1 (API level 25)

    SDK Tools Version: 25.2.5
    SDK Platform Tools Version: 25.0.3
    SDK Build Tools Version: 23.0.2

    Java SDK: /usr
    java version "1.8.0_101"
    Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
    Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

    Android Designer EPL code available here:
    https://github.com/xamarin/AndroidDesigner.EPL

    Xamarin Inspector
    Version: 1.2.0
    Hash: 62c17e6
    Branch: d15-1
    Build date: Mon, 20 Mar 2017 02:36:23 GMT

    Build Information
    Release ID: 700002715
    Git revision: cd1b560640f94595db9bfc6f8fdf5f57daa1b597
    Build date: 2017-04-05 05:50:44-04
    Xamarin addins: c75861dcb3f7865bd70921324fe9a72561229744
    Build lane: monodevelop-lion-d15-2

    Operating System
    Mac OS X 10.12.4
    Darwin Davids-MBP.att.net 16.5.0 Darwin Kernel Version 16.5.0
    Fri Mar 3 16:52:33 PST 2017
    root:xnu-3789.51.2~3/RELEASE_X86_64 x86_64

  • dwhiteddsoftdwhiteddsoft USMember ✭✭

    Isn't that interesting.... Funny enough this afternoon an update came from Microsoft. Now it works fine. Information in case it is useful to anyone else is below
    === Visual Studio for Mac Preview ===

    Version Preview 6 (7.0 build 2715)
    Installation UUID: 5cec5d67-c5d4-48c1-99cf-dfed4805d788
    Runtime:
    Mono 5.0.0.42 (2017-02/dda961c) (64-bit)
    GTK+ 2.24.23 (Raleigh theme)

    Package version: 500000042
    

    === NuGet ===

    Version: 4.0.0.2323

    === Xamarin.Profiler ===

    Version: 1.4.0
    Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

    === .NET Core ===

    Runtime: /usr/local/share/dotnet/dotnet
    SDK: /usr/local/share/dotnet/sdk/1.0.0-rc4-004915/Sdks
    MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.0.0/lib/mono/msbuild/15.0/bin/Sdks

    === Apple Developer Tools ===

    Xcode 8.3 (12169)
    Build 8E162

    === Xamarin.Mac ===

    Version: 3.4.0.0 (Visual Studio Enterprise)

    === Xamarin.iOS ===

    Version: 10.10.0.0 (Visual Studio Enterprise)
    Hash: fe490c24
    Branch: d15-2
    Build date: 2017-04-04 16:48:23-0400

    === Xamarin.Android ===

    Version: 7.3.0.1 (Visual Studio Enterprise)
    Android SDK: /Users/davidwhite/Library/Developer/Xamarin/android-sdk-macosx
    Supported Android versions:
    6.0 (API level 23)
    7.1 (API level 25)

    SDK Tools Version: 25.2.5
    SDK Platform Tools Version: 25.0.3
    SDK Build Tools Version: 23.0.2

    Java SDK: /usr
    java version "1.8.0_101"
    Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
    Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

    Android Designer EPL code available here:
    https://github.com/xamarin/AndroidDesigner.EPL

    === Xamarin Inspector ===

    Version: 1.2.1
    Hash: 0ea0a12
    Branch: d15-1
    Build date: Thu, 06 Apr 2017 20:24:44 GMT

    === Build Information ===

    Release ID: 700002715
    Git revision: cd1b560640f94595db9bfc6f8fdf5f57daa1b597
    Build date: 2017-04-05 05:50:44-04
    Xamarin addins: c75861dcb3f7865bd70921324fe9a72561229744
    Build lane: monodevelop-lion-d15-2

    === Operating System ===

    Mac OS X 10.12.4
    Darwin Davids-MBP.att.net 16.5.0 Darwin Kernel Version 16.5.0
    Fri Mar 3 16:52:33 PST 2017
    root:xnu-3789.51.2~3/RELEASE_X86_64 x86_64

  • MohamedElhefnawyMohamedElhefnawy USMember ✭✭

    same for me
    breakpoints budging not working any update

  • GuyProvostGuyProvost CAMember ✭✭✭

    If you dont use the lastest XF, you can't use mono 5. Select to use the prior version of mono in "Project".

  • PeterMillsPeterMills GBMember ✭✭

    @GuyProvost said:
    If you dont use the lastest XF, you can't use mono 5. Select to use the prior version of mono in "Project".

    Any idea where this setting is? I must be missing something here...

  • GuyProvostGuyProvost CAMember ✭✭✭
    edited June 16

    @PeterMills

    In VS for Mac or XS, in the "Project" menu... In the main menu bar of the app... Not on the explorer view of the solution, there a entry called "Project", in it, there's a submenu called "Active Runtime", click on it to list all the runtime you have installed on your machine. Select the one you need.

    If you are using an "old" version of xamarin forms, you can't use the latest runtime (which is currently 5.0.0.1) but should use 4.8.1.

    Now, if you have a clean installation and new installation of VS for Mac and you didn't have any prior XS installed, it is possible that you have a single runtime available (5.0.0.1), and that this menu entry isn't there, since you can't "pick and choose one".

    Go in the /Library/Frameworks/Mono.framework/Versions folder and look at the folders there. These are the mono FX you have installed in your station.

    If you need to install an older frameworks, go to the mono site and install 4.8.1 in order to be able to choose this one with your older XF project!

    https://download.mono-project.com/archive/4.8.1/

    Good luck, let me know how it turned out.

Sign In or Register to comment.