Giter Site home page Giter Site logo

Comments (21)

kensykora avatar kensykora commented on August 16, 2024

Attached is a link with a minimum set of reproducible code and Xamarin version numbers of the platform I'm currently running on.

https://www.dropbox.com/sh/au84myj9dgmj8hw/AAC5Sd31ruAHtnbYyoSdE9yua?dl=0#

from devices.xunit.

clairernovotny avatar clairernovotny commented on August 16, 2024

I'm pretty sure this is a Xamarin issue/bug. I'd suggest opening up an issue there; feel free to cc me there.

from devices.xunit.

kensykora avatar kensykora commented on August 16, 2024

Agreed -- I sent an email to their support. If you want to shoot me an email with your email address, I'll copy you on the support chain.

from devices.xunit.

AArnott avatar AArnott commented on August 16, 2024

+1 [email protected]
I've subscribed to this thread, but please CC me as well.

from devices.xunit.

clairernovotny avatar clairernovotny commented on August 16, 2024

The Xamarin Bugzilla for this is here: https://bugzilla.xamarin.com/show_bug.cgi?id=36087

from devices.xunit.

jamesmontemagno avatar jamesmontemagno commented on August 16, 2024

Have you attempted to uninstall all of the Mono/Xamarin.Android runtimes from your device/emulator? sometimes that stuff can muck it up. Usually going through you installed apps on your android device and uninstalling them all then letting the latest can fix it up.

from devices.xunit.

kensykora avatar kensykora commented on August 16, 2024

It is an issue both in iOS and Android, so it's not just limited to Android.

from devices.xunit.

kentcb avatar kentcb commented on August 16, 2024

I reported this to Xamarin directly and they confirmed it was a bug. However, I only observed it in Android, not iOS. Ticket: https://bugzilla.xamarin.com/show_bug.cgi?id=36078

@jamesmontemagno: didn't try that - will try first thing Monday

from devices.xunit.

kentcb avatar kentcb commented on August 16, 2024

@jamesmontemagno also, not really convinced this will help for two reasons:

  1. Breakpoints work outside of tests (even in the startup activity for the test harness, just not the tests themselves)
  2. Xam support were able to repro the issue

That said, I'll try your suggestion and report back here.

from devices.xunit.

digital-synapse avatar digital-synapse commented on August 16, 2024

Does anyone have any updates on this? Having the same problem.
This makes TDD for xamarin/android next to impossible.

from devices.xunit.

bradwilson avatar bradwilson commented on August 16, 2024

Shouldn't this bug be opened with Xamarin?

from devices.xunit.

clairernovotny avatar clairernovotny commented on August 16, 2024

There is an open bug, linked above. No progress on it so far other then their confirmation of a repro.

from devices.xunit.

kensykora avatar kensykora commented on August 16, 2024

For those here, I've been able to sometimes work around this issue if I put a breakpoint in the main thread that gets hit before breakpoints that happen within async/await code. If a breakpoint in the main thread hits, it seems to allow breakpoints in async code to hit also.

from devices.xunit.

AArnott avatar AArnott commented on August 16, 2024

For me, the app just hangs whenever it encounters a method with a breakpoint in it, including AppDelegate itself.

from devices.xunit.

clairernovotny avatar clairernovotny commented on August 16, 2024

I just sent them a support email via the priority queue....lets see what happens.

from devices.xunit.

kentcb avatar kentcb commented on August 16, 2024

@onovotny been there, done that. But please don't let that stop you. The more people shouting, the more likely this will be fixed.

I have found the most effective way of testing Xamarin applications is to.....not use Xamarin. I unload all Xamarin projects, put my tests in a PCL that I run via NCrunch or VS Test Runner, and do as much work as I can (services, view models) without loading the Xamarin tool chain. Only once I'm done there do I reload the Xamarin projects, double-check tests pass in the devices, and wire up the views.

It's sad, but that's the sorry state of Xamarin's tool chain at the moment.

from devices.xunit.

digital-synapse avatar digital-synapse commented on August 16, 2024

@onovotny I hope they can get this patched for you before Xamarin Evolve 16 or its going to be pretty hard to do any kind of walkthough...

from devices.xunit.

clairernovotny avatar clairernovotny commented on August 16, 2024

Anyone want to give this a shot to confirm?
https://bugzilla.xamarin.com/show_bug.cgi?id=36078

https://www.dropbox.com/s/ugaodugklwkjboo/Xamarin.VisualStudio_4.0.1.102.msi?dl=0

There appears to be a fix.

from devices.xunit.

digital-synapse avatar digital-synapse commented on August 16, 2024

Sweet! I did some preliminary tests. This does appear to fix the async code breakpoints! Thank you this is very helpful!

from devices.xunit.

FrancoisM avatar FrancoisM commented on August 16, 2024

Same issue, fixed with the patch 👍

from devices.xunit.

clairernovotny avatar clairernovotny commented on August 16, 2024

Closing as this should be fixed in the stable channel.

from devices.xunit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.