[Mono-list] Source lines in backtraces ....
Miguel de Icaza
miguel@ximian.com
22 May 2002 10:15:51 -0400
Hello Lawrence,
> This is only supposed to work on Linux though? As in cygwin I get the
> following:
The code that Martin wrote is for the mono runtime, so you should get
the same feature set provided you use the Mono runtime to run MCS on
Windows.
Here:
> $ mcs -g T26.cs
> error CS-0018: Cannot generate debugging information on this platform
> Error: Compilation failed
You are using the Microsoft.NET runtime to run mcs.
The problem is that the interface to generate debuging information in
.NET has a subset that is undocumented (you are supposed to pass an
IntPtr handle to the routine).
Now, that being said, you can support a partial set of debugging
information (bug 23665), but we could not support everything, as some
methods are not available (I believe OpenMethod). This should be better
than nothing, and we should still do it.
> Recreating T26.il from ./T26.exe.
> Assembler messages:
> Error: can't open T26-debug.s for reading
> T26-debug.s: No such file or directory
I get the same error here.
Miguel.