#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 | stepOver () |
| bool | stop () |
| bool | toggleBreakpoint (int line, const QString &) |
| void | tryStop () |
| ~PythonDebugger () | |
Definition at line 157 of file PythonDebugger.h.
| PythonDebugger::PythonDebugger | ( | ) |
Definition at line 370 of file PythonDebugger.cpp.
| PythonDebugger::~PythonDebugger | ( | ) |
Definition at line 375 of file PythonDebugger.cpp.
| Breakpoint PythonDebugger::getBreakpoint | ( | const QString & | fn | ) | const |
Definition at line 380 of file PythonDebugger.cpp.
References Gui::PythonDebuggerP::bps.
Referenced by Gui::PythonEditorView::drawMarker().
| void PythonDebugger::hideDebugMarker | ( | const QString & | fn | ) |
Definition at line 497 of file PythonDebugger.cpp.
References Gui::EditorView::fileName(), Gui::getMainWindow(), Gui::PythonEditorView::hideDebugMarker(), and Gui::MainWindow::windows().
| bool PythonDebugger::isRunning | ( | ) | const |
Definition at line 426 of file PythonDebugger.cpp.
References Gui::PythonDebuggerP::running.
Referenced by StdCmdMacroStepOver::isActive(), StdCmdMacroStopDebug::isActive(), and StdCmdMacroStartDebug::isActive().
| void PythonDebugger::runFile | ( | const QString & | fn | ) |
Definition at line 413 of file PythonDebugger.cpp.
References Base::Console(), Base::Interpreter(), and Gui::PythonDebuggerP::running.
Referenced by Gui::PythonEditorView::startDebug().
| void PythonDebugger::showDebugMarker | ( | const QString & | fn, | |
| int | line | |||
| ) |
Definition at line 474 of file PythonDebugger.cpp.
References Gui::MainWindow::addWindow(), Gui::BitmapFactory(), Gui::EditorView::fileName(), Gui::getMainWindow(), Gui::EditorView::open(), Gui::MainWindow::setActiveWindow(), Gui::PythonEditorView::showDebugMarker(), and Gui::MainWindow::windows().
| void Gui::PythonDebugger::signalNextStep | ( | ) | [signal] |
Referenced by stepOver(), and tryStop().
| bool PythonDebugger::start | ( | ) |
Definition at line 431 of file PythonDebugger.cpp.
References Gui::PythonDebuggerP::err_n, Gui::PythonDebuggerP::err_o, Gui::PythonDebuggerP::exc_o, Gui::PythonDebuggerP::init, Gui::PythonDebuggerP::out_n, Gui::PythonDebuggerP::out_o, Gui::PythonDebuggerP::pydbg, and Gui::PythonDebuggerP::trystop.
Referenced by Gui::PythonEditorView::startDebug().
| void PythonDebugger::stepOver | ( | ) |
Definition at line 469 of file PythonDebugger.cpp.
References signalNextStep().
| bool PythonDebugger::stop | ( | ) |
Definition at line 450 of file PythonDebugger.cpp.
References Gui::PythonDebuggerP::err_o, Gui::PythonDebuggerP::exc_o, Gui::PythonDebuggerP::init, and Gui::PythonDebuggerP::out_o.
Referenced by Gui::PythonEditorView::startDebug().
| bool PythonDebugger::toggleBreakpoint | ( | int | line, | |
| const QString & | fn | |||
| ) |
Definition at line 391 of file PythonDebugger.cpp.
References Gui::Breakpoint::addLine(), Gui::PythonDebuggerP::bps, and Gui::Breakpoint::setFilename().
Referenced by Gui::PythonEditorView::toggleBreakpoint().
| void PythonDebugger::tryStop | ( | ) |
Definition at line 463 of file PythonDebugger.cpp.
References signalNextStep(), and Gui::PythonDebuggerP::trystop.
1.6.1