debugger: start tightening the breakpoint state machinery

This commit is contained in:
hjk
2010-11-16 13:52:21 +01:00
parent 0f813fdc33
commit fd8bf48b2b
8 changed files with 156 additions and 97 deletions

View File

@@ -702,7 +702,7 @@ void QmlEngine::messageReceived(const QByteArray &message)
foreach (BreakpointId id, handler->engineBreakpointIds(this)) {
QString processedFilename = handler->fileName(id);
if (processedFilename == file && handler->lineNumber(id) == line) {
handler->setState(id, BreakpointInserted);
handler->notifyBreakpointInsertOk(id);
BreakpointResponse br = handler->response(id);
br.fileName = file;
br.lineNumber = line;