[Mono-devel-list] Debugging under Mono
Rafael Teixeira
monoman at gmail.com
Wed May 11 17:39:35 EDT 2005
Did you run like this: 'mono --debug myexecutable.exe'? If not debug
information won't be loaded and made available.
HIH,
On 5/11/05, Kornél Pál <kornelpal at hotmail.com> wrote:
> 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
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
--
Rafael "Monoman" Teixeira
---------------------------------------
I'm trying to become a "Rosh Gadol" before my own eyes.
See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment.
It hurts!
More information about the Mono-devel-list
mailing list