[Mono-bugs] [Bug 331781] Stack traces incorrect

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Oct 9 13:17:09 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=331781#c2


Juraj Skripsky <juraj at hotfeet.ch> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
           Severity|Minor                                           |Major
            Summary|Stack trace don't match file names/line numbers |Stack traces incorrect
                   |specified by "#line"                            |




--- Comment #2 from Juraj Skripsky <juraj at hotfeet.ch>  2007-10-09 11:17:09 MST ---
Things are even worse:
======================
using System;

public class MyClass {
        public void Test1() { Test2(); }
        public void Test2() { Test3(); }
        public void Test3() { Test4(); }

        public void Test4() {
                int i = 0;
                i /= i;
        }
}

public class MyTester {
        static void Main() {
                new MyClass().Test1();
        }
}

[js at leonardo temp]$ mono --debug very_wrong.exe

Unhandled Exception: System.DivideByZeroException: Division by zero
  at MyClass.Test1 () [0x00000] in /home/js/temp/very_wrong.cs:4 
  at MyTester.Main () [0x00000] in /home/js/temp/very_wrong.cs:16 


Invocations of Test2/3/4 are completely missing! This could turn a simple bug
hunt into a nightmare...

Changing bug title and severity accordingly.
I'm using Mono from SVN.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list