The dmd backend should generate .pdb files for visual studio.
Rumbu
rumbu at rumbu.ro
Sun Feb 21 09:09:12 UTC 2021
On Saturday, 20 February 2021 at 23:56:14 UTC, kinke wrote:
> On Saturday, 20 February 2021 at 23:33:05 UTC, 12345swordy
> wrote:
>> https://ibb.co/0q6NkZk
>> Look at the bottom left window.
>> It display enum values as integers!
>>
>> -Alex
>
> Not for trivial cases: https://ibb.co/YBK4H7q
>
> So this seems to be a bug, most likely not the last, but
> doesn't entail reinventing the wheel; .pdb output is already
> there.
DMD will not output enum info if the underlying enum type is not
int.
https://github.com/dlang/dmd/blob/32313b9f696520fae4910b96d5e4e6bd9b28e4a8/src/dmd/tocvdebug.d#L154
And to clear some misconceptions here, PDB uses CodeView format
internally.
More information about the Digitalmars-d
mailing list