QtPass 1.6.0
Multi-platform GUI for pass, the standard unix password manager.
Loading...
Searching...
No Matches
debughelper.h File Reference

Debug utilities for QtPass. More...

#include <QDebug>
Include dependency graph for debughelper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define dbg()
 Simple debug macro that includes file and line number.

Detailed Description

Debug utilities for QtPass.

Definition in file debughelper.h.

Macro Definition Documentation

◆ dbg

#define dbg ( )
Value:
qDebug() << __FILE__ ":" << __LINE__

Simple debug macro that includes file and line number.

Usage: dbg() << "message"; Output: "filename.cpp:123 message"

Only available in debug builds.

Examples
/home/annejan/Projects/QtPass/src/configdialog.cpp, /home/annejan/Projects/QtPass/src/imitatepass.cpp, /home/annejan/Projects/QtPass/src/mainwindow.cpp, /home/annejan/Projects/QtPass/src/pass.cpp, and /home/annejan/Projects/QtPass/src/util.cpp.

Definition at line 21 of file debughelper.h.