Bug 2301 - change soft debugger protocol to allow incremental loading of large (array) values
Summary: change soft debugger protocol to allow incremental loading of large (array) v...
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Debugger ()
Version: Trunk
Hardware: PC Mac OS
: --- enhancement
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2011-12-01 16:19 UTC by Jeffrey Stedfast
Modified: 2011-12-02 13:39 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 Jeffrey Stedfast 2011-12-01 16:19:06 UTC
bug #1547 exposes a problem with the way we handle really large string values (or any other array types, presumably?).

we need a way for MonoDevelop to incrementally fetch the values for variables so that we can:

1. fetch JustEnough(tm) for display purposes
2. incrementally load the full value so that the user can cancel (imagine if the string value is 50 MB or something crazy)

This will need changes in the runtime as well as MonoDevelop (and possibly the VS plugin)
Comment 1 Zoltan Varga 2011-12-01 18:47:22 UTC
ArrayMirror actually has a GetValues(index, length) method, so this is already implemented. I'll add the same for String.
Comment 2 Zoltan Varga 2011-12-01 19:40:14 UTC
This has been implemented on HEAD (f42ba4a168e7cb9b9486b8a96c53752e4467be8)
/mobile-master (3258672056476ee8e81b8ba11524274c4e05655b). The Mono.Debugger.Soft changes are only on master, and they need to be merged into the copy used by md.
Comment 3 Jeffrey Stedfast 2011-12-02 11:25:29 UTC
Hmm, looks like we'd need to backport a bunch of debugger protocol changes to mono-2-10

How feasible is this?
Comment 4 Jeffrey Stedfast 2011-12-02 13:39:17 UTC
Actually, we don't need this for MonoTouch/Mono4Android. MonoDevelop can still implement the protocol even w/o its own Mono supporting this.
Comment 5 Jeffrey Stedfast 2011-12-02 13:39:59 UTC
Oops, fixed.