Bug 966 - Code of AppDelegate.cs file does not revert back when user change debugger mode from iPhone to iPhoneSimulator.
Summary: Code of AppDelegate.cs file does not revert back when user change debugger mo...
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 2.8 Beta 2
Hardware: Macintosh Mac OS
: --- trivial
Target Milestone: ---
Assignee: Mike Krüger
Depends on:
Reported: 2011-09-21 12:44 UTC by Nischal
Modified: 2011-12-22 06:17 UTC (History)
3 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 Nischal 2011-09-21 12:44:42 UTC
Steps to reproduce:
1. Launch the MonoDevelop.
2. Create a solution.
3. Open AppDelegate.cs file.
4. Change debugger mode to iPhone.
5. See the code gets changed.
6. Now change debugger mode to iPhoneSimulator
7. See code does not change.

Actual result:
Code does not change when user change debugger mode from iPhone to iPhoneSimulator.

Expected result:
Code should changed when user change debugger mode from iPhone to iPhoneSimulator.

Environment Details: 
VM: Parallel Desktop 
OS:  Lion 10.7 (Guest Operating System)
MonoTouch 4.9
MonoDevelop 2.8 
Mono Framework for MAC OS X Intel Runtime
Comment 1 Alan McGovern 2011-10-03 10:36:19 UTC
By default all comments are displayed in the 'collapsed' state when the file is opened. When you modify the selection these regions get expanded and become visible. There's no actual change in the code though. This is a texteditor issue, but only a cosmetic one.
Comment 2 Alan McGovern 2011-10-03 10:37:31 UTC
Mike, just in case the previous comment wasn't clear enough: The bug is that changing the active configuration results in all collapsed comments being expanded. It's not a huge thing, but it is a little weird ;)
Comment 3 Mike Krüger 2011-10-27 06:40:34 UTC
was hard to find (but easy to fix).
Comment 4 Jatin 2011-12-22 06:16:51 UTC
This issue is fixed and verified for the latest installers, i.e.

MonoDevelop 2.8.5
MonoTouch 5.0.4 

Hence, closing this issue.