Bug 9277 - Cursor moves to the bottom of the csharp page after executing
Summary: Cursor moves to the bottom of the csharp page after executing
Alias: None
Product: Android
Classification: Xamarin
Component: Debugger ()
Version: 1.0
Hardware: PC Windows
: Low normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2013-01-04 14:39 UTC by Allie Miller
Modified: 2017-06-29 03:10 UTC (History)
7 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 Allie Miller 2013-01-04 14:39:10 UTC
In the debugger and when executing file.exists the cursor moves to the bottom of the csharp page and just hangs and does not go to the next line of execution

Here is sDB: "/data/data/SMSMobile.SMSMobile/files/SMSLite"

Here is the code:

public bool CreateDatabase (string sDatabaseName)
try {
string sLocation =
System.Environment.GetFolderPath (System.Environment.SpecialFolder.Personal);
string sDB = Path.Combine (sLocation, sDatabaseName);

if (!File.Exists (sDB))
SMSApplication.SMSdb = SQLiteDatabase.OpenOrCreateDatabase(sDB, null);
SMSApplication.SMSdb = SQLiteDatabase.OpenDatabase(sDB, null, DatabaseOpenFlags.OpenReadwrite);

return true;
} catch (Exception ex) {
string sMessage = ex.Message;
return false;

MonoDevelop 3.0.5
Installation UUID: 9b80ba8b-649d-429a-97ca-683e94441f5b
Microsoft .NET 4.0.30319.296
GTK 2.16.6
GTK# (
Mono for Android: 4.2.7
Android SDK: C:\Program Files (x86)\Android\android-sdk
Supported Android versions:
4.0.3 (API level 15)
Java SDK: C:\Program Files (x86)\Java\jdk1.6.0_38
No build info
Operating System:
Windows 6.1.7600.0 (64-bit)

After upgrading to Mono for Android 4.4.54, when executing the File.exists line the cursor moves to the last line in the .cs page
Comment 1 Zoltan Varga 2013-01-04 20:39:24 UTC
-> m4a for now.
Comment 2 Jonathan Pryor 2013-05-22 15:10:30 UTC
@Jeff: Sounds like a debugger issue?
Comment 3 Jeffrey Stedfast 2016-03-16 20:14:35 UTC
I don't think the debugger does anything with the cursor...
Comment 4 Chris Hardy [MSFT] 2017-06-29 03:10:46 UTC
Thank you for taking the time to submit this report. After reviewing the description of this bug, we believe it no longer affects the current version of Xamarin.Android. If you are still experiencing the issue after updating your packages, please reopen this report with an attached reproduction.