4#include <tqvaluelist.h>
6#include "kdevdebugger.h"
8#include <tdeparts/part.h>
9#include <tdetexteditor/markinterface.h>
11#include <tdeversion.h>
12#include <tdetexteditor/markinterfaceextension.h>
14class KDevPartController;
29 BPItem() : m_fileName(
""), m_lineNum(0)
32 BPItem(
const TQString& fileName,
const uint lineNum)
33 : m_fileName(fileName),
37 uint lineNum()
const {
return m_lineNum; }
38 TQString fileName()
const {
return m_fileName; }
40 bool operator==(
const BPItem& rhs )
const
42 return (m_fileName == rhs.m_fileName
43 && m_lineNum == rhs.m_lineNum);
80 int id,
bool enabled,
bool pending);
97 Debugger(KDevPartController *partController);
108 void partAdded( KParts::Part* part );
120 Bookmark = KTextEditor::MarkInterface::markType01,
121 Breakpoint = KTextEditor::MarkInterface::markType02,
122 ActiveBreakpoint = KTextEditor::MarkInterface::markType03,
123 ReachedBreakpoint = KTextEditor::MarkInterface::markType04,
124 DisabledBreakpoint = KTextEditor::MarkInterface::markType05,
125 ExecutionPoint = KTextEditor::MarkInterface::markType06
129 KDevPartController *m_partController;
130 TQValueList<BPItem> BPList;
Describes a single breakpoint in the system.
BPItem()
default ctor - required from TQValueList
Handles signals from the editor that relate to breakpoints and the execution point of the debugger.
void clearExecutionPoint()
Remove the executution point being displayed.
void gotoExecutionPoint(const KURL &url, int lineNum=-1)
Displays an icon in the file at the line that the debugger has stoped at.
void setBreakpoint(const TQString &fileName, int lineNum, int id, bool enabled, bool pending)
Controls the breakpoint icon being displayed in the editor through the markinterface.
Base class to handle signals from the editor that relate to breakpoints and the execution point of th...