If you pass the —debug option to mono, you should get the full stack trace.
http://www.mono-project.com/Debugging
On Dec 29, 2013, at 11:16 PM, Andrei Faber wrote:
> Why doesn't Mono include full stack trace information into exception?
___
Mono-list
it doesn't seem to change anything
mono.exe --debug ConsoleApplication2.exe
System.ApplicationException: An application exception has occurred.
at ConsoleApplication2.Program.Main (System.String[] args) [0x0]
in :0
If you pass the —debug option to mono, you should get the full stack tra
What version of mono are you using?
If < 3.0, please upgrade and retest.
If >= 3.0, please report a bug in http://bugzilla.xamarin.com/
On 30/12/13 14:04, Andrei Faber wrote:
> it doesn't seem to change anything
> mono.exe --debug ConsoleApplication2.exe
> System.ApplicationException: An applic
You need to tell mono to create the debugging symbols when building.
mcs -debug ConsoleApplication2.cs
You should see ConsoleApplication2.exe.mdb in the output directory, and now
when you run with the --debug option you should see line numbers in the stack
trace.
Please keep in mind you are te
Why debugging symbols are required to show full stack trace? MS .NET
doesn't require that.
On 30/12/2013 20:42, David Curylo wrote:
You need to tell mono to create the debugging symbols when building.
mcs -debug ConsoleApplication2.cs
You should see ConsoleApplication2.exe.mdb in the output d
On Dec 30, 2013, at 9:22 AM, Andrei Faber wrote:
> Why debugging symbols are required to show full stack trace? MS .NET doesn't
> require that.
It’s sort of tricking you when you run it on the same Windows machine where you
built it. If you copy that same ConsoleApplication2.exe built by MS.N
This is due to inlining. Run your program with -O=-inline and you'll get
what you want.
On Sun, Dec 29, 2013 at 11:16 PM, Andrei Faber wrote:
> Why doesn't Mono include full stack trace information into exception?
> For example, this code:
>
> class Program
> {
> static void Main
Thanks.
On 30/12/2013 23:38, Jonathan Pryor wrote:
On Dec 30, 2013, at 9:25 AM, Andrei Faber wrote:
Why debugging symbols are required to show full stack trace? MS .NET doesn't
require that.
Good question -- it doesn't make sense, as the methods are still present in the
IL.
Using `mcs -deb