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.
Created attachment 602 [details]
Picture of yellow arrow I'd like to be able to drag
In Visual Studio, when I'm currently debugging, I can drag the yellow "current line" arrow to another statement to set the execution point.
MonoDevelop also has a yellow arrow, however you can not drag it.
I would like this feature in MonoDevelop, as it's incredibly useful.
We'll need runtime support for this feature.
This is certainly doable, its just a bit hard to do it in a 'safe' way, i.e. what if the user resumes execution at a point which uses uninitialized variables, i.e. variables which are normally initialized, but the initialization statements were in code which the user skipped. The runtime would simply crash, and we can't allow that.. The same goes for finalizers for example, if the user resumes execution in the middle of a finally handler, things would also crash due to the way our finalizers are implemented.
Since Visual Studio allows this (and it's incredibly handy), it's definitely possible to do in a safe way. I can check out what happens in VS when you skip over the initialization of a variable; I would assume it just throws an exception, exactly as if that line was missing.
Backend support was implemented: https://github.com/mono/mono/commit/4f15ef462d9f06bb4f6392f8ea5e22cba40ca379