Thread overview | |||||
---|---|---|---|---|---|
|
May 03, 2018 Finding the last executed line by checking dmd core | ||||
---|---|---|---|---|
| ||||
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 Re: Finding the last executed line by checking dmd core | ||||
---|---|---|---|---|
| ||||
Posted in reply to kerdemdemir | 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 Re: Finding the last executed line by checking dmd core | ||||
---|---|---|---|---|
| ||||
Posted in reply to kerdemdemir | 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++
|
Copyright © 1999-2021 by the D Language Foundation