How to debug and watch globals in windows debugger?
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Tue Mar 28 04:22:24 UTC 2023
On 28/03/2023 2:25 PM, ryuukk_ wrote:
> On Tuesday, 28 March 2023 at 01:06:50 UTC, Richard (Rikki) Andrew
> Cattermole wrote:
>> Have you tried installing mago?
>>
>> https://github.com/rainers/mago
>>
>> There are instructions for vs-code in README.
>
> I did not try mago, but it shouldn't be needed as pdb is universally
> understood by tools
Agreed, I would expect globals (including TLS) to work without a
debugger extension.
> While i will try with mago, it shouldn't satisfy us, workarounds are
> temporary solutions
Its not a workaround, mago (in this case) is an extension to MS's
debugger framework which provides D specific features, you'd want it
regardless if you work with the debugger with D a lot. Debuggers
typically have language specific features to make them easier to work with.
Jan should be shipping this I think.
More information about the Digitalmars-d-learn
mailing list