On 02/20/2013 08:47 AM, Paweł Faron wrote:
> How to collect the backtrace?

You can start Qt Creator in a debug session from Qt Creator itself in 
order to get a backtrace:

1. Menu: Debug > Start Debugging > Start and Debug External Application...

2. In the new dialog, provide a path to your Qt Creator executable in 
"Local executable". If you have a debug build, this will be just fine. 
If not, provide also debug information if there are any. Click OK.

3. A new Qt Creator starts up. Now do what is necessary to trigger the 
crash (importing your project?!).

4. In the Qt Creator running the debug session you should be able to see 
the stack frames (it's on the bottom left in the default layout; right 
to the sidebar). Just right click there and select "Create Full 
Backtrace" in the context menu. A new editor will be opened containing 
the backtrace. Create a new bug report at 
https://bugreports.qt-project.org/ with that backtrace.

If the backtrace contains a lot "??", you probably don't have a debug 
build and thus the backtrace is not that helpful. You can build Qt 
Creator from the sources in a debug variant to get a debug build.

Nikolai
_______________________________________________
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to