[Mono-list] Line numbers in exceptions

Jonathan Gagnon jonathan.gagnon at croesus.com
Wed Apr 25 13:15:02 EDT 2007


Hi,
 
I have a program that is compiled with Visual Studio.  When I run it in
.NET, I get the line numbers in the string generated by
Exception.ToString().  But when I run it with Mono, I don't get the line
numbers.  I tried using the --debug flag and it doesn't change anything, I
still don't have the line numbers.  I suspect that this is because I
compiled my application with Visual Studio and that Mono can't use the .pdb
files.  Am I right?  If I am right, is there a way to at least get the IL
offset in the file?  It seems to always return 0 in my case.
 
Thanks,
 
Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070425/464ae60a/attachment.html 


More information about the Mono-list mailing list