Skip to content

iamsergio/gdb_qml_backtraces

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

An helper function so you can get a QML backtrace from gdb.

(gdb) call KDAB::printQmlStackTraces()
Stack trace for QQuickView(0x7fffffffd2e0 active exposed, visibility=QWindow::Windowed, flags=QFlags<Qt::WindowType>(Window), geometry=0,1290 500x500)
    onSomeIndirection2Changed [qrc:/main.qml:28]
    onSomeIndirectionChanged [qrc:/main.qml:22]
    onClicked [qrc:/main.qml:17]

Also useful when running under valgrind --vgdb=yes. Just link QmlStackTraceHelper.cpp with your application.

About

Generate a QML backtrace from GDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published