How to find the cause of crash?

zhmt via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Mar 11 04:24:41 PDT 2015


On Wednesday, 11 March 2015 at 11:09:42 UTC, Daniel Kozák wrote:
>
> On Wed, 11 Mar 2015 10:05:39 +0000
> zhmt via Digitalmars-d-learn 
> <digitalmars-d-learn at puremagic.com> wrote:
>
>> I want to know how to locate the position of crashing in dlang?
>> 
>> for example:  there is stack dump in c, exception stack in 
>> java, they could help to locate the root of problems.
>> 
>
> D has these too, you just need to compile it in debug mode. If 
> you use
> dub dont use release build type

Thank you. I compiled it in release mode, I'll try debug mode 
later.


More information about the Digitalmars-d-learn mailing list