D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 9660 - [meta] Not able to debug on Windows starting from ~10 MiB executable size
Summary: [meta] Not able to debug on Windows starting from ~10 MiB executable size
Status: RESOLVED INVALID
Alias: None
Product: D
Classification: Unclassified
Component: tools (show other issues)
Version: D2
Hardware: All Windows
: P2 blocker
Assignee: No Owner
URL:
Keywords:
Depends on: 6144
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-07 04:09 UTC by Denis Shelomovskii
Modified: 2015-06-09 04:37 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Denis Shelomovskii 2013-03-07 04:09:10 UTC
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.
Comment 1 Denis Shelomovskii 2013-03-07 04:10:12 UTC
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.
Comment 2 Andrej Mitrovic 2013-03-07 18:33:01 UTC
Why did you open this if it's about Issue 6144? Keep issues about actual bugs and not discussions about other issues.
Comment 3 Denis Shelomovskii 2013-03-07 21:49:14 UTC
(In reply to comment #2)
> 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.