Bug 315538 (MONO61711) - [PATCH] Stacktrace does not contain line numbers on os x 10.3 (mono 1.0)
Summary: [PATCH] Stacktrace does not contain line numbers on os x 10.3 (mono 1.0)
Status: RESOLVED FIXED
Alias: MONO61711
Product: Mono: Runtime
Classification: Mono
Component: misc (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-19 01:51 UTC by Joachim Ante
Modified: 2007-09-15 21:24 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Proposed Patch (2.56 KB, patch)
2004-07-26 22:00 UTC, Thomas Wiest
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 18:47:27 UTC


---- Reported by joe@uti.is 2004-07-18 18:51:03 MST ----

The stacktrace generated on macosx 10.3 with mono 1.0 using
"mono --debug test.exe" does not contain line numbers. The output i get is:

"
TiBook:~ joachima$ mono --debug /Users/joachima/Desktop/C\#/test.exe 
test

Unhandled Exception: System.ArgumentException: A
in <0x0005c> Bug:raise ()
in <0x00024> Bug:Main (string[])
"

Eg. Compiling the following code.

using System;

public class Bug
{
  static void Main(string[] args)
  {
    Console.WriteLine("test");

    raise();

    Console.WriteLine("bye");
  }

  private static void raise()
  {
    throw new ArgumentException("A");
    // useless stuff
    int a = 1;
    int b = 2;
    int c;
    c = a + b;
  }
  
}



---- Additional Comments From grompf@sublimeintervention.com 2004-07-26 15:00:33 MST ----

Created an attachment (id=166491)
Proposed Patch




---- Additional Comments From lupus@ximian.com 2004-07-27 10:23:55 MST ----

I completed and tweaked the patch and committed to cvs.
Thanks.



---- Additional Comments From lupus@ximian.com 2004-07-27 10:24:46 MST ----

Fixed in cvs.

Imported an attachment (id=166491)

Unknown bug field "cf_op_sys_details" encountered while moving bug
   <cf_op_sys_details>Macosx 10.3</cf_op_sys_details>
Unknown operating system unknown. Setting to default OS "Other".