Debugging a dub build

Per Nordlöw per.nordlow at gmail.com
Mon Jan 21 11:16:31 UTC 2019


On Monday, 21 January 2019 at 11:14:35 UTC, Per Nordlöw wrote:
> What's the easiest way to debug a dub app build?
>
> Is there a better way than
>
>     dub run
>
> followed by
>
>     gdb run PATH_TO_APP_BINARY
>
> ?

Correction should be

     dub build --build=unittest

or

     dub build --build=debug

followed by

     gdb PATH_TO_APP_BINARY


More information about the Digitalmars-d-learn mailing list