Why doesn't Mono include full stack trace information into exception?
For example, this code:
class Program
{
static void Main(string[] args)
{
try
{
Foo();
}
catch (Exception exc)
{
Console.WriteLine(exc);
}
}
static void Foo()
{
Bar();
}
static void Bar()
{
throw new ApplicationException();
}
}
In MS .NET, it produces this output:
System.ApplicationException: Error in the application.
at ConsoleApplication2.Program.Bar()
at ConsoleApplication2.Program.Foo()
at ConsoleApplication2.Program.Main(String[] args)
While in Mono:
System.ApplicationException: An application exception has occurred.
at ConsoleApplication2.Program.Main (System.String[] args) [0x00000]
in <filename unknown>:0
--
Best wishes,
Andrei Faber
_______________________________________________
Mono-list maillist - Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list