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" <[EMAIL PROTECTED]>
To: "Jaroslaw Kowalski" <[EMAIL PROTECTED]>
Cc: "Lawrence Pit" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, May 22, 2002 2:01 PM
Subject: Re: [Mono-list] Source lines in backtraces ....


> "Jaroslaw Kowalski" <[EMAIL PROTECTED]> 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
> [EMAIL PROTECTED]
>
> _______________________________________________
> Mono-list maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/mono-list
>


_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to