[Mono-bugs] [Bug 604879] New: mono_debug_symfile_get_linenumbers() fails when method ends with hidden line

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue May 11 14:50:14 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=604879

http://bugzilla.novell.com/show_bug.cgi?id=604879#c0


           Summary: mono_debug_symfile_get_linenumbers() fails when method
                    ends with hidden line
    Classification: Mono
           Product: Mono Tools for Visual Studio
           Version: 2.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Debug in Mono
        AssignedTo: martin at novell.com
        ReportedBy: martin at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


We're currently unable to hit any breakpoints in methods like this:

===
        static void Main(string[] args)
        {
            Console.WriteLine("START !");

            while (true)
            {
                Console.WriteLine(DateTime.Now);
                Thread.Sleep(1000);
            }
        }

===

This generates a line number table like this:

====
terrania at gondor:~$ mdb-symbolreader --lnt
/tmp/monotools-MonoVSTestProject8/MonoVSTestProject8.exe
Reading /tmp/monotools-MonoVSTestProject8/MonoVSTestProject8.exe.mdb, version
50.0.
Method 1 - MonoVSTestProject8.X.Main(string[])
  Bounds: [Line 1:12:0] [Line 1:19:2a]
  File 1: MonoVSTestProject8\Program.cs
    Line 1:12:0 - 12 12 9 10
    Line 1:13:1 - 13 13 13 42
    Line 0:13:c (hidden)
    Line 1:16:e - 16 16 13 14
    Line 1:17:f - 17 17 17 49
    Line 1:18:1f - 18 18 17 36
    Line 1:19:2a - 19 19 13 14
    Line 1:15:2b - 15 15 13 25
    Line 0:15:2d (hidden)
terrania at gondor:~$
=====

This is a runtime problem; I'm almost done with a fix for it.

-- 
Configure bugmail: http://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