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

Lawrence Pit loz@cable.a2000.nl
Wed, 22 May 2002 09:01:52 +0300


Hi Martin,

> after a long day of hacking, there's a cool new toy for you :-)

Definitely high on anyones wanted list :-)


This is only supposed to work on Linux though? As in cygwin I get the
following:

$ mcs -g T26.cs
error CS-0018: Cannot generate debugging information on this platform
Error: Compilation failed

or:

$ mono --debugdwarf ./T26.exe
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

(process:1928): ** WARNING **: Can't open symbol file: T26-debug.o
X
RESULT: 0
Message: debug-dwarf2.c:776:dwarf2_write_class(): System.Object - 0x1c -
0x10000
1
Message: debug-dwarf2.c:776:dwarf2_write_class(): System.IntPtr - 0x18 -
0x2109
./T26.exe-dwarf.s: Assembler messages:
./T26.exe-dwarf.s:168: Error: unknown pseudo-op: `.previous'
./T26.exe-dwarf.s:174: Error: unknown pseudo-op: `.2byte'
./T26.exe-dwarf.s:209: Warning: rest of line ignored; first ignored
character is
 `F'
./T26.exe-dwarf.s:337: Warning: rest of line ignored; first ignored
character is
 `F'
./T26.exe-dwarf.s:352: Warning: rest of line ignored; first ignored
character is
 `F'
./T26.exe-dwarf.s:372: Warning: rest of line ignored; first ignored
character is
 `F'
./T26.exe-dwarf.s:387: Warning: rest of line ignored; first ignored
character is
 `F'

... <ad infinitum>





Greets,
Lawrence