D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 1955 - debug info for temp variables
Summary: debug info for temp variables
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86 All
: P2 minor
Assignee: No Owner
URL:
Keywords: DebugInfo, pull
Depends on:
Blocks: 4044
  Show dependency treegraph
 
Reported: 2008-03-27 15:50 UTC by Cristi Vlasceanu
Modified: 2018-02-15 12:31 UTC (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Cristi Vlasceanu 2008-03-27 15:50:20 UTC
The Linux version of the compiler generates debug information for internal, temporary variables (named _TMPxx, where xx is a number). This clutters the debugger views with needless information.
Comment 1 Jarrett Billingsley 2008-03-27 17:14:02 UTC
Happens on Windows too, at least when debugging in VC6.
Comment 2 Andrei Alexandrescu 2013-11-15 18:02:48 UTC
Is this still relevant?
Comment 3 Benjamin Thaut 2013-11-17 01:06:23 UTC
Yes, I still see all the temporary variables in the locals view when debugging on windows.
Comment 4 Martin Nowak 2013-11-21 07:58:07 UTC
The frontend uses '__' prefixed variables for temporaries. They are not handled specially by the backend, therefor the debug info.