#include <PythonDebugger.h>
Signals | |
void | signalNextStep () |
Public Member Functions | |
Breakpoint | getBreakpoint (const QString &) const |
void | hideDebugMarker (const QString &) |
bool | isRunning () const |
PythonDebugger () | |
void | runFile (const QString &fn) |
void | showDebugMarker (const QString &, int line) |
bool | start () |
void | stepInto () |
void | stepOver () |
void | stepRun () |
bool | stop () |
bool | toggleBreakpoint (int line, const QString &) |
void | tryStop () |
~PythonDebugger () | |
Constructor & Destructor Documentation
◆ PythonDebugger()
PythonDebugger::PythonDebugger | ( | ) |
◆ ~PythonDebugger()
PythonDebugger::~PythonDebugger | ( | ) |
Member Function Documentation
◆ getBreakpoint()
Breakpoint PythonDebugger::getBreakpoint | ( | const QString & | fn | ) | const |
References Gui::PythonDebuggerP::bps.
Referenced by Gui::PythonEditor::drawMarker().
◆ hideDebugMarker()
void PythonDebugger::hideDebugMarker | ( | const QString & | fn | ) |
◆ isRunning()
bool PythonDebugger::isRunning | ( | ) | const |
◆ runFile()
void PythonDebugger::runFile | ( | const QString & | fn | ) |
References Base::Console(), Gui::PythonDebuggerP::running, Base::FileInfo::toStdWString(), and Base::ConsoleSingleton::Warning().
Referenced by Gui::PythonEditor::startDebug().
◆ showDebugMarker()
void PythonDebugger::showDebugMarker | ( | const QString & | fn, |
int | line | ||
) |
◆ signalNextStep
|
signal |
Referenced by stepInto(), stepOver(), stepRun(), and tryStop().
◆ start()
bool PythonDebugger::start | ( | ) |
◆ stepInto()
void PythonDebugger::stepInto | ( | ) |
References signalNextStep().
Referenced by StdCmdMacroStepInto::activated().
◆ stepOver()
void PythonDebugger::stepOver | ( | ) |
References signalNextStep().
Referenced by StdCmdMacroStepOver::activated().
◆ stepRun()
void PythonDebugger::stepRun | ( | ) |
References signalNextStep().
Referenced by StdCmdMacroStartDebug::activated().
◆ stop()
bool PythonDebugger::stop | ( | ) |
◆ toggleBreakpoint()
bool PythonDebugger::toggleBreakpoint | ( | int | line, |
const QString & | fn | ||
) |
References Gui::Breakpoint::addLine(), Gui::PythonDebuggerP::bps, and Gui::Breakpoint::setFilename().
Referenced by Gui::PythonEditor::toggleBreakpoint().
◆ tryStop()
void PythonDebugger::tryStop | ( | ) |
References signalNextStep(), and Gui::PythonDebuggerP::trystop.
Referenced by StdCmdMacroStopDebug::activated().
The documentation for this class was generated from the following files:
- src/Gui/PythonDebugger.h
- src/Gui/PythonDebugger.cpp