Bug 18612 – missing debug info: frame locals (eg lldb fr v) not shown with dmd (works with ldc)
Status
RESOLVED
Resolution
DUPLICATE
Severity
critical
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Mac OS X
Creation time
2018-03-15T00:08:39Z
Last change time
2019-05-18T13:33:54Z
Assigned to
No Owner
Creator
Timothee Cour
Comments
Comment #0 by timothee.cour2 — 2018-03-15T00:08:39Z
```
-- main.d
extern(C) void test(){
int a=1;
}
void main(){
test;
}
```
```
dmd -g main.d
lldb ./main
b test
r
fr v
# nothing shown
```
with ldmd2:
(lldb) fr v
(int) a = 0