| |
| Posted by Hipreme in reply to Hipreme | PermalinkReply |
|
Hipreme
Posted in reply to Hipreme
| On Wednesday, 19 January 2022 at 02:31:31 UTC, Hipreme wrote:
> I have separated my project in a bunch of modules to be compiled separated. But it seems I have lost my debugging power since then. I would like to know if there is any workaround beside not using it as a lib.
I'm using it from dub and it is has the debug options on them:
"buildOptions": [
"debugMode",
"debugInfo",
"debugInfoC"
],
And on every lib too.
I had some errors about "duplicate object file, linking without debug info", an error that really should not exist as D works in modules. But I have renamed the necessary modules for getting rid of that message.
After that, the problem was fixed by doing dub clean --all-packages , thanks rikki!
|