[Mono-list] Source lines in backtraces ....
Martin Baulig
martin@gnome.org
22 May 2002 14:01:10 +0200
"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