www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Finding the last executed line by checking dmd core

reply kerdemdemir <kerdemdemir gmail.com> writes:
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
next sibling parent Jonathan M Davis <newsgroup.d jmdavisprog.com> writes:
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 03 2018
prev sibling parent drug <drug2004 bk.ru> writes:
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++
May 03 2018