I agree, debug builds should show proper stack trace by default
You should submit a PR for dmd and call what ever is that function behind a `debug` block when it hooks the C main function
As for LDC, it's weird that it doesn't work, they should share the same runtime no?