[Mono-dev] On the way to bootstrap vbnc on Mono - How to debugthe runtime on cygwin?
kornelpal at gmail.com
Mon Oct 16 08:00:22 EDT 2006
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
Could you please have a look at the runtime?
I used SVN HEAD, and tried to bootstrap vbnc using the following command
mono --debug vbnc.exe /codepage:65001 /out:.\bootstrap.exe
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:
Thanks for your help.
----- 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?
gdb is close to unusable under cygwin. I suggest compiling the runtime
VisualC++ and that debugger. Compiling with VC++ is much faster too, and
VC++ Express is free.
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:
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list