www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 9660] New: [meta] Not able to debug on Windows starting from ~10 MiB executable size

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9660

           Summary: [meta] Not able to debug on Windows starting from ~10
                    MiB executable size
           Product: D
           Version: D2
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: verylonglogin.reg gmail.com
        Depends on: 6144



15:09:10 MSK ---
Starting from ~10 MiB executable (with debug info included) OPTLINK Issue 6144
is triggered so one have to develop further without debug info which is really
pity expecially as it starts when the project is already has medium size.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 07 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9660




15:10:12 MSK ---
Some magic like separating a part of the project into a library may or may not
help.

Eliminating use of templates often helps. E.g. one should always append
`.array()` after (finite) range based operations and then pass an array to a
regular (non-templated) function instead of passing Voldemort types to a
templated function.

Another workaround is temporary commenting out some functions which uses
templates (e.g. from `std.algorithm`) to debug other functions.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 07 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9660


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andrej.mitrovich gmail.com
         Resolution|                            |INVALID



18:33:01 PST ---
Why did you open this if it's about Issue 6144? Keep issues about actual bugs
and not discussions about other issues.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 07 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9660




08:49:14 MSK ---

 Why did you open this if it's about Issue 6144? Keep issues about actual bugs
 and not discussions about other issues.
IMHO it's a separate and valuable issue which will be fixed if Issue 6144 will but may be (probably) fixed also in a different way. Yes, fill free to mark it INVALID if you sure I'm obviously incorrect. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 07 2013