The dmd backend should generate .pdb files for visual studio.
12345swordy
alexanderheistermann at gmail.com
Sat Feb 20 19:18:37 UTC 2021
On Saturday, 20 February 2021 at 17:07:07 UTC, kinke wrote:
> On Saturday, 20 February 2021 at 16:55:30 UTC, 12345swordy
> wrote:
>> On Saturday, 20 February 2021 at 16:48:43 UTC, bachmeier wrote:
>>>
>>> Doesn't it already do that? https://dlang.org/windbg.html
>>>
>>> (Maybe I'm not understanding.)
>>
>> Read this line here:
>> "The debug information format used is an ancient version of
>> CodeView that is only partially supported by more recent
>> debuggers."
>
> `dmd -m64 -g foo.d` generates `foo.{exe,pdb}` and can be
> debugged with VS / Visual D just fine, no Dwarf involved.
What part of "Ancient version of CodeView that is only partially
supported" that you do not understand here? It doesn't generate
enum type information or any type information at all for the
debugger.
Try reading the enum values in your debugging windows in visual
d. It makes you want to rip your hair out.
-Alex
More information about the Digitalmars-d
mailing list