debugging in vs code on Windows
evilrat
evilrat666 at gmail.com
Wed Oct 18 08:33:07 UTC 2017
On Wednesday, 18 October 2017 at 07:57:25 UTC, Dmitry wrote:
> On Tuesday, 17 October 2017 at 10:09:12 UTC, Dmitry wrote:
>> On Tuesday, 17 October 2017 at 08:38:20 UTC, Arjan wrote:
>>> Before this will work, one must install the Microsoft C/C++
>>> Addin i.e. ms-vscode.cpptools.
>>> Start debugging and select the C++ debugger.
>>
>> Yep
>> https://forum.dlang.org/post/xwsvxphjtzgwjyrgdquu@forum.dlang.org
>
> Yesterday I found that C/C++ debugger is not very usable for D.
> For example, it doesn't show some structs and associative
> arrays (shows it just as pointer), pointer+length+chunk of
> memory instead of string, etc. So, I had to use VisualStudio +
> Mago for debugging.
That's because compiler doesn't (yet) generates all necessary
debug info.
x86_mscoff had better support last time I checked.
And structs can be observed using watch, like if it is C++
variable (&some_struct), not sure about strings though.
More information about the Digitalmars-d-learn
mailing list