[Mono-list] How do you debug?

Ivan Hawkes blackhawk@ivanhawkes.com
Fri, 4 Jul 2003 23:25:18 +0100


=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 04 Jul 2003 10:54 pm, Miguel de Icaza wrote:
> Hello,

<SNIP>

> A debugger will be coming (you can try the latest snapshot from
> http://www.go-mono.com/archive/mono-debugger-0.4.tar.gz, that was
> released today).

Cool! Good timing.

> Now, a debugger can be useful, but ours is too new to be of big help
> here.  In particular, we do not distribute by default debugger-enabled
> versions of our assemblies, so that means that you would have to
> rebuild the libraries yourself with debugging information.

I already am building them from cvs so not really a problem for me. I just=
=20
need to do a rebuild for the -g option.

> The bug you show above happens inside the class libraries, in the
> GetInt32 routine.  You can get the line number if you recompile the
> class libs with -g, and run with --mono

I'm on it.

> Am sorry that there is not much else now.
>
> Miguel.

My debugging needs are simple, and are basically just a way for me to not h=
ave=20
to write Console.Write all throughout the code, then recompile it. I=20
basically only need breakpoints and a variable inspector. Nothing too fancy=
=20
;-)
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iQIVAwUBPwX+zvr1e7bH1pzBAQJnuw/+MZE2a09NCgXh0ACrmFfSI5YHV1KTom7o
1ZMOG38t2WqfSycSyPW8YKi7HlUb7XSmAFbkwSsQCt1SKAoFFyxwJkeYo2fAHa0J
QVtpGAXg9lojCVXn4oJGL2NnEUF/Rj/mkohfC65ohhlST3OAiEoOyaypbzs0UOuX
QC4RJcQzroSTe4NurmZcXbjP1Q5FvAsh7oHupht4wiNDg1MYc691w2J6Y2WINZno
tXzPFOhVVPWcoIlbLoJ3+tih3E3SCaeZH/Lp4RyjWQZVy7msNoVowpc7DNVBxEtb
vYjKqKuSzQ3cGAQPVtLzdJl3ia8vvGix5BLsgCiJ3ZCIIMMYn8Ra7T8rDe4yFqF0
xNLwKO6FPx2oxVvfK7qf7RwYk7/zLPk/i+whbXDRKe7zDgXXOhSG6LW9Ggo7tuMc
M9w5QD9NpoH2kxDJs+LOBG2loWkMR7gFFvqtykKQoyMfwglLq5n1sSaR1J5f0sVf
9EPHLdCctfjCxyfpyxEaOs/AUPWEERc35IPHJ3w7+88ycxs2y1jYaDCEH47aPiBP
iLcvjrrZ8JHAGJBDRcHN8E5M6D6g2KR4dmnPzkKJh14cpzOrB4DnWffNAdtPpG+X
mxj7MtoQQWXWfUOYHoxxxGMErwmnR5b+xnmbRLsjScwkgvamsHvQxBT+0Eyxz9lc
TWtigzEY5co=3D
=3D8jSF
=2D----END PGP SIGNATURE-----