[Mono-dev] Mono debugger - confusing message

Mads Bondo Dydensborg mbd at dbc.dk
Wed Jun 20 01:08:13 EDT 2007


tirsdag 19 juni 2007 16:14 skrev Rafael Teixeira:
> Assemblies compiled for more than version of framework, may exhibit
> this behaviour as that comparison for types also check the types
> assembliy-version numbers.

Ok. Please note, that this is while debugging the ODBC stack from Mono svn - 
everything from a fresh (nightly) build. I am not sure your explanation 
applies - but thanks.

Additionally: if your explanation do apply - perhaps the message from mdb 
should be slightly more informative?

Regards,

Mads

> 
> Be sure to recompile (reinstall in GAC) everything for just one profile.
> 
> On 6/19/07, Mads Bondo Dydensborg <mbd at dbc.dk> wrote:
> > Hi there
> >
> > While debugging the mono dbc stack today, using the mdb debugger (all 
current
> > svn): I got the following, inside OdbcDataReader, singlestepping at line 
708
> >
> > (mdb) p System.Text.Encoding.Default.GetString( buffer, 0, bufsize )
> > ERROR: The best overload of method `System.Text.UTF8Encoding.GetString' 
has
> > some invalid arguments:
> > Argument 0: Cannot implicitly convert `System.Byte[]' to `System.Byte[]'
> >
> > Huh?
> >
> > There may be a deeper meaning in this, but it is a bit hard for me to 
figure
> > out :-)
> >
> > Regards,
> >
> > Mads
> >
> > --
> > Med venlig hilsen/Regards
> >
> > Systemudvikler/Systemsdeveloper cand.scient.dat, Ph.d., Mads Bondo 
Dydensborg
> > Dansk BiblioteksCenter A/S, Tempovej 7-11, 2750 Ballerup, Tlf. +45 44 86 
77 34
> >
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >
> 
> 
> -- 
> Rafael "Monoman" Teixeira
> ---------------------------------------
> "The reasonable man adapts himself to the world; the unreasonable one
> persists in trying to adapt the world to himself. Therefore all
> progress depends on the unreasonable man." George Bernard Shaw
> 
> 

-- 
Med venlig hilsen/Regards

Systemudvikler/Systemsdeveloper cand.scient.dat, Ph.d., Mads Bondo Dydensborg
Dansk BiblioteksCenter A/S, Tempovej 7-11, 2750 Ballerup, Tlf. +45 44 86 77 34




More information about the Mono-devel-list mailing list