[Mono-bugs] [Bug 532865] [regression] Debugger won't stop on a break point in the Form1 constructor

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Aug 25 13:56:21 EDT 2009


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

User martin at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=532865#c2





--- Comment #2 from Martin Baulig <martin at novell.com>  2009-08-25 11:56:19 MDT ---
Unfortunately, this isn't easy and it looks like I need to make some larger
changes to the line number lookup code :-(

The problem is this, if you look at `mdb-symbolreader --lnt':

====
Method 9 - WindowsFormsApplication2.Form1..ctor()
  File 3: WindowsFormsApplication2/Form1.Designer.cs
    Line 3:8:0 - 8 8 9 68
  File 4: WindowsFormsApplication2/Form1.cs
    Line 4:14:7 - 14 14 9 23
    Line 4:15:e - 15 15 9 10
    Line 4:16:f - 16 16 13 35
    Line 4:17:16 - 17 17 9 10
====

The .ctor has two source files, and note that this is different to
compiler-generated .aspx code with #line directives where the method starts and
ends in the same source file.

Here, we start and end in different source files, so computing the methods
bounds fails.

Line 8 in the Form1.Designer.cs is the field initializer.

I have to think about how to fix that.

-- 
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