[Mono-devel-list] Debugging under Mono

Kornél Pál kornelpal at hotmail.com
Wed May 11 11:00:53 EDT 2005


Hi,

Using .NET Framework I can obtain the IL offset and file name and line
numbers when the code is compiled with csc.exe -debug argument using the
GetILOffset, GetFileName, GetFileLineNumber methods of the StackFrame class.
Using Mono (on Windows) I can obtain only the native offset, no IL offset
and no file name and line numbers even if I compile the code using mcs.exe
and -debug.

Is there any way to obtain IL offset and/or source fine name and line number
under Mono from an Exception or StackTrace under Windows and/or under Linux?

Sincerely,
Kornél




More information about the Mono-devel-list mailing list