Comment #0 by pro.mathias.lang — 2016-01-30T23:09:31Z
Tested with 'GNU gdb (GDB) 7.10.1' (latest release) + DMD 2.069-but-really-2.070.
The following code, compiler with '-g':
```
enum Foo
{
Bar,
Bar2,
Bar3
}
void main ()
{
openBar(Foo.Bar3);
}
void openBar (Foo f) { asm { int 3; } }
```
Will produce the following when debugging:
```
Program received signal SIGTRAP, Trace/breakpoint trap.
test.openBar(test.Foo) (f=<incomplete type>) at test.d:13
13 void openBar (Foo f) { asm { int 3; } }
```
Notice the "<incomplete type>". It seems gdb is not able to read enums produced by DMD.