[Mono-dev] runtime dbg library API proposal/impl

Martin Baulig martin at ximian.com
Thu Dec 6 07:58:11 EST 2007


On Thu, 2007-12-06 at 11:42 +0100, Paolo Molaro wrote:
> On 12/05/07 Rodrigo Kumpera wrote:
> > One thing missing are functions to probe the version/capabilities of the
> > library. Since the idea is to have the debugger use as much of the dbg api
> > as possible but falling back to the current code in case the lib doesn't
> > support specific stuff.
> 
> This is automatically handled by DllImport. Also note that once the
> API is fixed, we'll just add to it: the existence of an API entry point
> is trivial to check for.
> We could add a major version number to be able to do some extra sanity
> check, but it will basically not change very often if at all: one of the
> things we're trying to address with this library is breakages in the
> debugger as a consequence of runtime internal changes and we don't want
> to add one more potential unstable API to make things worse.

Well, there has to be some managed API which accesses this library -
either in the debugger on in the class libraries.

I don't care where it lives, we can have it at either place, but I would
think it'd make more sense to have it in the class libs.

-- 
Martin Baulig - martin at novell.com
Novell GmbH, Düsseldorf
GF: Volker Smid, Djamel Souici; HRB 21108 (AG Düsseldorf)





More information about the Mono-devel-list mailing list