Re: Can't get into debugger in vscode on macOS

2023-10-19 Thread Daniel Zuncke via Digitalmars-d-learn
On Thursday, 19 October 2023 at 15:25:36 UTC, ryuukk_ wrote: ``` "stopOnEntry": true, ``` Thanks, my bad I missed that. The entry point I get is a dynamic link error and the program exits after trying to do a single step (I've put the asm below). Since calling `./bin/dfmt` works in

Re: Can't get into debugger in vscode on macOS

2023-10-19 Thread Daniel Zuncke via Digitalmars-d-learn
On Thursday, 19 October 2023 at 14:30:06 UTC, evilrat wrote: Could it be is that it instantly crashes? Thanks, but I have found it doesn't get that far* while debugging in vscode, it seems to be a linker error. \* If I randomly change program arguments (`--help`, `./tests/issue0578.d` or

Can't get into debugger in vscode on macOS

2023-10-19 Thread Daniel Zuncke via Digitalmars-d-learn
Hello, I need some help getting into the debugger in vscode on macOS. It did work some months ago but that was finicky to set up. Maybe I am forgetting something now? I am compiling the project with `dub build --build debug --compiler ldc2 --force` (the `-ld_classic` flag to fix the new