[Mono-dev] On the way to bootstrap vbnc on Mono - How to debugthe runtime on cygwin?

Kornél Pál kornelpal at gmail.com
Mon Oct 16 08:00:22 EDT 2006


Hi,

Thanks for the tip, VC++ compiled Mono without problems and the debugger 
works fine as well. It's great.:)

The documentation only mentions MONO_PATH but I had to set MONO_CFG_DIR as 
well. Is that normal?

And I had to disable runtime checks in libmono because it triggered errors 
at very early points of execution. Is there any use to have these checks?

Unfortunately I have no idea what the bug in the runtime is. According to 
the stack traces the break point triggers when working with some generic 
method signatures and the free and realloc heap functions seem to detect 
that something is wrong. But I wasn't able to figure out what the problem 
is.

Could you please have a look at the runtime?

I used SVN HEAD, and tried to bootstrap vbnc using the following command 
line:

mono --debug vbnc.exe /codepage:65001 /out:.\bootstrap.exe 
@..\tests\SelfTest\bootstrap.rsp

Also note that I have applied the patch posted in the first message in this 
thread to corlib that makes vbnc reach the point where the runtime crashes:
http://lists.ximian.com/pipermail/mono-devel-list/2006-October/020889.html

Thanks for your help.

Kornél

----- Original Message ----- 
From: "Zoltan Varga" <vargaz at gmail.com>
To: "Robert Jordan" <robertj at gmx.net>
Cc: <mono-devel-list at lists.ximian.com>
Sent: Sunday, October 15, 2006 7:09 PM
Subject: Re: [Mono-dev] On the way to bootstrap vbnc on Mono - How to 
debugthe runtime on cygwin?


                            Hi,

  gdb is close to unusable under cygwin. I suggest compiling the runtime 
with
VisualC++ and that debugger. Compiling with VC++ is much faster too, and
VC++ Express is free.

             Zoltan

On 10/15/06, Robert Jordan <robertj at gmx.net> wrote:
> Hi Kornél,
>
> Kornél Pál wrote:
> > Hi,
> >
> > Today I have made a lot of progress in making vbnc bootstrap on Mono.
> >
> > But I'm stuck with a SIGSEGV. And I have no experience at all in
> > debugging the runtime.
>
> Debugging with GDB under Linux:
>
> http://www.mono-project.com/Debugging#Debugging_with_GDB
>
> Robert
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list 




More information about the Mono-devel-list mailing list