Re: Debug with GDB on Windows

2024-05-25 Thread user1234 via Digitalmars-d-debugger
On Saturday, 18 May 2024 at 22:57:23 UTC, Aleksey Gorelov wrote: I am trying to debug on windows. A simple hello world app compiled with ``` "c:\D\ldc2-1.38.0-windows-x64\bin\ldc2.exe" -gdwarf -O0 app.d ``` has debug symbols. But the same app compiled with ``` dub build -b debug --compiler

Re: Debug with GDB on Windows

2024-05-18 Thread Aleksey Gorelov via Digitalmars-d-debugger
The dub build with --verbose option generates the output ``` Generating using build Configuring dependent testd1, deps: Performing "debug" build using c:\D\ldc2-1.38.0-windows-x64\bin\ldc2.exe for x86_64. testd1 ~master: building configuration "application"... c:\D\ldc2-1.38.0-windows-x64\bin\ld

Debug with GDB on Windows

2024-05-18 Thread Aleksey Gorelov via Digitalmars-d-debugger
I am trying to debug on windows. A simple hello world app compiled with ``` "c:\D\ldc2-1.38.0-windows-x64\bin\ldc2.exe" -gdwarf -O0 app.d ``` has debug symbols. But the same app compiled with ``` dub build -b debug --compiler="c:\D\ldc2-1.38.0-windows-x64\bin\ldc2.exe" --force --root ../.