Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
I have run across an issue in Xamarin.Forms (both iOS and Android) where breakpoints are not hit in the App class if there are two App classes declared as partials.
public partial class App : Application
I have attached a sample to illustrate the issue.
As it stands a breakpoint in the App class wont stop the debugger, however if you move the WelcomeString variable from the second App class (App.Clients.cs) and put it back in App.cs and rename the second App class the breakpoint will be hit.
I have tried this on other partials and the debugger stops as expected, it just seems to happen on App and only if there are actually two partials, simply declaring the only App class a partial doesn’t prevent the debugger from stopping on the breakpoint.
I am using VS2015 & Xamarin 3.11.893.0
Created attachment 12861 [details]
Sample code to reproduce the bug
I wasn't able to reproduce this issue on this day, with updated xamarin version (but your project and your XF version).
I guess the debugger had an issue that was fixed.
If you can still reproduce this problem, please reopen the bug, and we will need to reassign it to the debugger or runtime teams.
the xf team