[Mono-bugs] [Bug 477503] New: DebuggableAttribute emission

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 18 19:56:11 EST 2009


https://bugzilla.novell.com/show_bug.cgi?id=477503


           Summary: DebuggableAttribute emission
    Classification: Mono
           Product: Mono: Compilers
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: aaragoneses at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Compiling an assembly in DEBUG mode (instead of RELEASE mode), gmcs should
generate an assembly with this attribute:

  .custom instance void class
[mscorlib]System.Diagnostics.DebuggableAttribute::'.ctor'(valuetype
[mscorlib]System.Diagnostics.DebuggableAttribute/DebuggingModes) =  (01 00 07
01 00 00 00 00 ) // ........

This is what csc does, and it allows this kind of things:

http://jamesewelch.wordpress.com/2007/08/30/how-to-tell-if-a-net-assembly-is-debug-or-release/

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


More information about the mono-bugs mailing list