Base::Debugger Class Reference
This is a utility class to break the application at a point to inspect e.g. More...
#include <Debugger.h>
Public Slots | |
void | quit () |
Public Member Functions | |
void | attach () |
Debugger (QObject *parent=0) | |
void | detach () |
bool | eventFilter (QObject *, QEvent *) |
int | exec () |
~Debugger () | |
Detailed Description
This is a utility class to break the application at a point to inspect e.g.
the result of an algorithm. You usually use it like this
...
Base::Debugger dbg;
dbg.attach();
dbg.exec();
...
Or you can connect it with a button and let the user click it in order to continue.
QPushButton* btn = new QPushButton();
btn->setText("Continue");
btn->show();
Base::Debugger dbg;
dbg.exec();
Constructor & Destructor Documentation
◆ Debugger()
Debugger::Debugger | ( | QObject * | parent = 0 | ) |
◆ ~Debugger()
Debugger::~Debugger | ( | ) |
Member Function Documentation
◆ attach()
void Debugger::attach | ( | ) |
◆ detach()
void Debugger::detach | ( | ) |
◆ eventFilter()
◆ exec()
int Debugger::exec | ( | ) |
References Base::Console(), and Base::ConsoleSingleton::Message().
◆ quit
|
slot |
The documentation for this class was generated from the following files:
- src/Base/Debugger.h
- src/Base/Debugger.cpp
This is a utility class to break the application at a point to inspect e.g.
Definition: Debugger.h:73