[Mono-list] Source lines in backtraces ....

Jaroslaw Kowalski jarek@atm.com.pl
Wed, 22 May 2002 14:59:31 +0200


Ok, but can you read the PDB file created using csc.exe using this interface
or are there similar problems?

Jarek
----- Original Message -----
From: "Martin Baulig" <martin@gnome.org>
To: "Jaroslaw Kowalski" <jarek@atm.com.pl>
Cc: "Lawrence Pit" <loz@cable.a2000.nl>; <mono-list@ximian.com>
Sent: Wednesday, May 22, 2002 2:01 PM
Subject: Re: [Mono-list] Source lines in backtraces ....


> "Jaroslaw Kowalski" <jarek@atm.com.pl> writes:
>
> > How about using "System.Diagnostics.SymbolStore" to read PDBs on
Windows? I
> > haven't tried it yet but it looks promising. It should be feasible to
create
> > a symbol table converter for csc-generated assemblies to dwarf format so
> > that you can compile on Windows and debug on Linux for example.
>
> That's exactly the problem.  We're using the
"System.Diagnostics.SymbolStore"
> interface, but we don't know how to make it work with microsofts symbol
writer:
>
> Once you have an `ISymbolWriter' instance, according to the docu the first
thing
> you must do is to call its Initialize() function - this function takes an
`IntPtr'
> as first argument and we do not know what this is.
>
> Both using `new IntPtr (0)' and not calling the Initialize() function at
all failed.
>
> --
> Martin Baulig
> martin@gnome.org
>
> _______________________________________________
> Mono-list maillist  -  Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>