debugger: basic support for address-based breakpoints

This commit is contained in:
hjk
2010-04-09 14:55:09 +02:00
parent 0ea0977ca8
commit 4eb83cd8b2
5 changed files with 44 additions and 10 deletions

View File

@@ -140,6 +140,7 @@ public:
void removeAt(int index); // This also deletes the marker.
void clear(); // This also deletes all the marker.
int indexOf(BreakpointData *data) { return m_bp.indexOf(data); }
// If lineNumber < 0, interpret fileName as address.
int findBreakpoint(const QString &fileName, int lineNumber) const;
int findBreakpoint(const BreakpointData &data) const; // Returns index.
BreakpointData *findBreakpoint(int bpNumber) const;