[Qt-creator] What's the crash?
aha_1980 at gmx.de
aha_1980 at gmx.de
Sat Jul 14 09:22:09 CEST 2018
Hi all,
> Yes, but how do you get the actual crash reason?
You need to inspect the backtrace. You have the local variables for each function on the stack, and this should give you some insight.
There's nothing more the debugger or C++ can do for you here.
Regards, Andre
>
> On Sat, Jul 14, 2018 at 6:27 AM Nikos Chantziaras <realnc at gmail.com> wrote:
>
> > On 12/07/18 18:16, Jason H wrote:
> > > When my program seg faults, bus errors, or divides by zero, I'm left at
> > the offending line in the debugger. Is there a way to tell what exactly
> > caused the crash without having to guess?
> >
> > You need to do a debug build of your application and then start it in
> > the debugger (just press F5.) This will give you the line of the crash
> > but also a backtrace to see how you got to that current line.
> >
> > _______________________________________________
> > Qt-creator mailing list
> > Qt-creator at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/qt-creator
> >
>
--
Von meinem Jolla gesendet
More information about the Qt-creator
mailing list