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 andrei.fa...@gmail.com wrote:
Why doesn't Mono include full stack trace information into exception
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 filename unknown:0
If you pass the —debug option to mono, you should get
...@gmail.com wrote:
Why doesn't Mono include full stack trace information into exception?
___
Mono-list maillist - Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
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
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
On Dec 30, 2013, at 9:22 AM, Andrei Faber andrei.fa...@gmail.com 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
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 andrei.fa...@gmail.comwrote:
Why doesn't Mono include full stack trace information into exception?
For example, this code:
class Program
{
Thanks.
On 30/12/2013 23:38, Jonathan Pryor wrote:
On Dec 30, 2013, at 9:25 AM, Andrei Faber andrei.fa...@gmail.com 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
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)
{