Skip to content
Snippets Groups Projects
Commit ef350d52 authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlJSDebugger: Show filename/line number also for enabled breakpoints

Hitting a breakpoint automatically acknowledges it, and from then on
bpFileName, bpLineNumber are used in the Breakpoints pane instead of
fileName, lineNumber.

Task-number: QTCREATORBUG-2759
Reviewed-by: Christiaan Janssen
parent aa11eb89
No related branches found
No related tags found
No related merge requests found
...@@ -683,6 +683,8 @@ void QmlEngine::messageReceived(const QByteArray &message) ...@@ -683,6 +683,8 @@ void QmlEngine::messageReceived(const QByteArray &message)
if (processedFilename == file if (processedFilename == file
&& data->lineNumber == line) { && data->lineNumber == line) {
data->pending = false; data->pending = false;
data->bpFileName = file;
data->bpLineNumber = line;
data->updateMarker(); data->updateMarker();
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment