[Mono-dev] [Ximian-mono-list] Generics Sharing in the Debugger: Request for breaking the code freeze

Mark Probst mark.probst at gmail.com
Fri Jul 18 12:11:07 EDT 2008


On Fri, Jul 18, 2008 at 5:27 PM, Miguel de Icaza <miguel at ximian.com> wrote:
>> Is attaching to a non --debug Mono process a widely used feature?
>
> A better question to ask is whether developers routinely attach to
> running processes to debug with other debuggers, and I think the answer
> to that is yes, and we should expect that in the long term this should
> be a supported configuration.

The question here is not about long term but only about 2.0.  We want
to support full generic sharing debugging with 2.1, but for 2.0 this
is not an option anymore.  So, to recap, from my point of view we have
two sane options for 2.0:

1. Leave generic sharing turned on by default, but turn it off if
running with --debug.  Debugging will work, but attaching to a process
that runs without --debug will fail and the debugger should tell the
user that the process should be run with --debug.

2. Turn off generic sharing by default.  The debugger should still be
able to tell if a process runs with generic sharing enabled, though,
and report that.

I'd prefer 1.

Mark


More information about the Mono-devel-list mailing list