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.
Take a look at the code sample in the linked article, when debugging on a real device and checking the double values stored in the dictionary it shows apparently random values.
I just tried this, and it worked fine for me both on device and simulator in my test app.
Something is obviously wrong, but it doesn't seem to be that straight-forward, so can you add a test project where this happens? Maybe it's something in the project settings that provokes it.
Looks like from the thread that it only has odd values in the Immediate window?
Might be iPhone4 specific, jawbrey pointed pit it looked like this:
but that was only tested with 2 iPads, the above report was on an iPhone4 too. I'll put together a small app tonight to replicate but would suggest just trying it on an iPhone4 if you have 1 available.
From this StackOverflow post it looks like it might be a bug in returning doubles from method invocations in the debugger:
It does look like a dup, let's consolidate info in one report.
*** This bug has been marked as a duplicate of bug 1949 ***