Debugging on Windows
Arokh Slade
arokhslade at gmail.com
Sun Apr 20 13:21:47 UTC 2025
On Thursday, 17 April 2025 at 14:45:32 UTC, Python wrote:
> On Wednesday, 16 April 2025 at 20:08:00 UTC, Arokh Slade wrote:
>> Hello,
>>
>> I'm trying to get debugging on windows 10 to work.
>> d_test.d
>> ```D
>> void main() {
>> int i;
>> }
>> ```
>> I compile with:
>> dmd -g -gf -m64 .\d_test.d
>>
>> I load the msvc debugger with
>> devenv /DebugExe .\d_test.exe
>>
>> latest visualD installed.
>>
>> I can step into the program, but when I add `i` to the watch
>> window,
>> msvs 2022 enters an infinite loop, allocating memory
>> indefinitely (I watched until it passed 10GB).
>>
>> Any tips?
>> How do other people debug on windows?
>
> Using Visual Studio.
Thank you, Python, for taking the time to respond.
Yes, it seemed to me that Visual D would provide the best
out-of-the-box experience, since it's been around for a long time.
More information about the Digitalmars-d-learn
mailing list