Thread overview
Finding the last executed line by checking dmd core
May 03, 2018
kerdemdemir
May 03, 2018
Jonathan M Davis
May 03, 2018
drug
May 03, 2018
After a big refactor my code crushes I have no idea where.

I am only getting :

Program exited with code -11

And a core file.

I used to use gdb for c++ coredumps. With what program&option I can check dmd core file?

Erdemdem
May 03, 2018
On Thursday, May 03, 2018 19:45:54 kerdemdemir via Digitalmars-d-learn wrote:
> After a big refactor my code crushes I have no idea where.
>
> I am only getting :
>
> Program exited with code -11
>
> And a core file.
>
> I used to use gdb for c++ coredumps. With what program&option I can check dmd core file?

gdb supports D, though due to some recent changes to D's name mangling, the name mangling in gdb doesn't work quite right currently. I'd suggest reading this thread:

https://forum.dlang.org/thread/zgnqjzarzrtzbwqjofwz@forum.dlang.org

- Jonathan M Davis

May 04, 2018
On 03.05.2018 22:45, kerdemdemir wrote:
> After a big refactor my code crushes I have no idea where.
> 
> I am only getting :
> 
> Program exited with code -11
> 
> And a core file.
> 
> I used to use gdb for c++ coredumps. With what program&option I can check dmd core file?
> 
> Erdemdem
The same programs and options like c++