Bug 1955 – debug info for temp variables

Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
All
Creation time
2008-03-27T15:50:20Z
Last change time
2018-02-15T12:31:13Z
Keywords
pull, symdeb
Assigned to
No Owner
Creator
Cristi Vlasceanu
Blocks
4044

Comments

Comment #0 by cristian — 2008-03-27T15:50:20Z
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 by jarrett.billingsley — 2008-03-27T17:14:02Z
Happens on Windows too, at least when debugging in VC6.
Comment #2 by andrei — 2013-11-15T18:02:48Z
Is this still relevant?
Comment #3 by code — 2013-11-17T01:06:23Z
Yes, I still see all the temporary variables in the locals view when debugging on windows.
Comment #4 by code — 2013-11-21T07:58:07Z
The frontend uses '__' prefixed variables for temporaries. They are not handled specially by the backend, therefor the debug info.
Comment #5 by code — 2013-11-30T16:06:05Z