Bug 4032 - "Step Into" does not work correctly
Summary: "Step Into" does not work correctly
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Runtime
Classification: Mono
Component: Debugger ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-03-22 12:05 UTC by Alan McGovern
Modified: 2017-07-11 22:53 UTC (History)
4 users (show)

Tags:
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 GitHub or Developer Community 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:
Status:
RESOLVED NOT_REPRODUCIBLE

Description Alan McGovern 2012-03-22 12:05:51 UTC
This is taken from some new MonoDevelop unit tests I'm creating.

http://screencast.com/t/ke3K46lsxsn

The wordy description is:
1) Create this code:

PListScheme Load (string value)
{
	using (var reader = XmlReader.Create (new StringReader (value)))
		return PListScheme.Load (reader);
}

public partial class PListScheme
{
	public static readonly PListScheme Empty = new PListScheme () { keys = new Key [0] };
		
	IList<Key> keys = new List<Key> ();
	public IList<Key> Keys {
		get {
			return keys;
		}
	}

	public static PListScheme Load (XmlReader reader)
	{
		var result = new PListScheme ();
		var doc = new XmlDocument ();
		doc.Load (reader);
	}
}

2) Place the debugger on a breakpoint at the line "return PListScheme.Load (reader);"

3) exceute "Step Into" 6 times. The sixth time you step, you end up at the first line in PListScheme.Load. This should happen in one step.
Comment 1 Rodrigo Kumpera 2017-07-11 22:53:24 UTC
Link is down, can't repro.