Bug 12867 - The execution sometimes/always enters the else block, even if the condition is true
Summary: The execution sometimes/always enters the else block, even if the condition i...
Alias: None
Product: iOS
Classification: Xamarin
Component: Debugger ()
Version: 6.3.x
Hardware: PC Mac OS
: --- major
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2013-06-25 07:26 UTC by Prashant Cholachagudda
Modified: 2017-05-18 12:50 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:

Description Prashant Cholachagudda 2013-06-25 07:26:15 UTC
During the debug the execution control always/sometime enters the 'else' block even when the condition is 'true'
Comment 2 Vincent Dondain [MSFT] 2017-05-18 12:49:08 UTC

I looked at the desk case and unfortunately the linked video is no longer available.

Therefore I tried to understand with the comments which part of the code we are talking about and I believe it's this: https://github.com/thedillonb/MonoTouch.SlideoutNavigation/blob/master/MonoTouch.SlideoutNavigation/SlideoutNavigationController.cs#L260-L268

Where animated even if set to true, for some reason, would be false or we'd enter the else.

I downloaded the open source project: https://github.com/thedillonb/MonoTouch.SlideoutNavigation/archive/master.zip

I couldn't reproduce the issue. Animated is indeed true and when debugging we don't go into the else statement so I consider this issue as resolved upstream.

If you can reproduce this issue please provide new information and re-open the bug report. Thanks!
Comment 3 Vincent Dondain [MSFT] 2017-05-18 12:50:27 UTC
Note: I used the following versions of the products https://gist.github.com/VincentDondain/25875e67a6aeb346df0501fc8b729c30