[Mono-devel-list] Patch for generating debug info in System.Reflection.Emit

Rodrigo B. de Oliveira rodrigobamboo at gmail.com
Thu May 26 10:26:21 EDT 2005


Hi,

I've just built the latest mono/mcs/debugger from the repository and
although debugging information is being emitted now, the runtime and
the debugger cannot make use of it. I get no source information on
stack traces and mdb is unable to display source lines.

The only important setting I've used on building mono was --with-preview=no.

Here's a console dump of a session with mdb:

rodrigob at bambuntu:~/dotnet/boo/build$ mdb booish.exe
Mono Debugger
(mdb) run
Starting program: booish.exe
** Message: x86-linux-ptrace.c:77: b6d53bb0 - can't read target memory
of 16935 at address ffffffffb7ff7195 : Argumento inválido
Process @4 stopped at #0: 0xb725b430 in BooishModule.Main(System.String[]).
BooishModule.Main(System.String[]):
0xb725b430      push   %ebp
(mdb) n
Process @4 stopped at #0: 0xb725b431 in BooishModule.Main(System.String[])+0x1.
0xb725b431      mov    %esp,%ebp
(mdb)

I'm running ubuntu hoary and uname -a reports:
Linux bambuntu 2.6.10-5-k7 #1 Fri May 20 15:49:12 UTC 2005 i686 GNU/Linux

Any ideas?
Rodrigo

On 5/17/05, Lluis Sanchez <lluis at ximian.com> wrote:
> Hi!
> 
> This patch adds some basic support for generating debug info in SRE. 
> ...
> I'll commit if there are no objections.
> Lluis.
>



More information about the Mono-devel-list mailing list