Skip to content

dfries/GammaRay

 
 

Repository files navigation

Introduction

GammaRay is a free software introspection tool for Qt applications developed by KDAB. Leveraging the QObject introspection mechanism it allows you to observe and manipulate your application at runtime. This works both locally on your workstation and remotely on an embedded target.

Augmenting your instruction-level debugger, GammaRay allows you to work on a much higher level, with the same concepts as the frameworks you use. This is especially useful for the more complex Qt frameworks such as model/view, state machines or scene graphs.

GammaRay can:

  • Browse the QObject tree with live updates.

  • View, and to some extent, edit QObject static and dynamic properties.

  • View and call slots of a QObject.

  • View other QObject elements such as signals, enums and class infos.

  • List all QObject inbound and outbound signal/slot connections.

  • Provide a layout information overlay for QWidget applications.

  • Inspect all QPainter operations used to draw a specific widget.

  • Browse the QtQuick2 item tree and scenegraph.

  • Plot object lifetime and emitted signals.

  • View the content of any QAbstractItemModel. Very useful when debugging a proxy model chain for example.

  • Browse the QAbstractProxyModel hierarchy.

  • Browse the item tree of any QGraphicsView scene.

  • Show a live preview of QGraphicsView items, including showing their coordinate system, transformation origin, rotate/zoom/pan, etc.

  • Intercept translations and change them at runtime.

  • Inspect all building blocks of a QStyle.

  • Act as a complete java script debugger, attachable to any QScriptEngine (including the usually not accessible one used by QtQuick1 internally).

  • Perform HTML/CSS/DOM/JS introspection/editing/profiling on any QWebPage, thanks to QWebInspector.

  • Browse the QResource tree and its content.

  • Browse QStateMachines, along with their states and transitions.

  • Show all registered meta types.

  • Show all installed fonts.

  • Show all available codecs.

  • Browse all QTextDocuments, along with the ability to edit them and view their internal structures.

  • Show all QTimers and their statistics (number of wakeups, wakeup time, ...)

Contact

Get Involved

If you want to contribute, please check out: https://github.com/KDAB/GammaRay/wiki/Get-Involved

License

Copyright (C) 2010-2014 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

About KDAB

GammaRay is supported and maintained by Klarälvdalens Datakonsult AB (KDAB)

KDAB, the Qt experts, provide consulting and mentoring for developing Qt applications from scratch and in porting from all popular and legacy frameworks to Qt. We continue to help develop parts of Qt and are one of the major contributors to the Qt Project. We can give advanced or standard trainings anywhere around the globe.

Please visit http://www.kdab.com to meet the people who write code like this.

About

GammaRay is a tool to poke around in a Qt-application and also to manipulate the application to some extent.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 99.5%
  • C 0.2%
  • Perl 0.2%
  • Shell 0.1%
  • TypeScript 0.0%
  • Prolog 0.0%