Segmentation fault hell in D

Dmitry Olshansky dmitry.olsh at gmail.com
Fri Jun 8 11:13:19 PDT 2012


On 08.06.2012 21:30, "Jarl André" <jarl.andre at gmail.com>" wrote:
> Evry single time I encounter them I yawn. It means using the next
> frickin hour to comment away code, add more log statements and try to
> eleminate whats creating the hell of bugz, segmantation fault. Why can't
> the compiler tell me anything else than the fact that i have referenced
> data that does not exist? Thanks I knew that. Now, please tell me where
> the error occured.... Jeezes.

Well there should be a stack trace. I even see it on win32 these days.

try compiling with -g flag.

-- 
Dmitry Olshansky


More information about the Digitalmars-d-learn mailing list