forked from qt-creator/qt-creator
Debugger: use FilePath in stack frames
Change-Id: I98b6aa60e1b72be3482916446b87cee89e6cf2a4 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -134,7 +134,7 @@ void SourceAgent::updateLocationMarker()
|
||||
d->editor->textDocument()->removeMark(d->locationMark);
|
||||
delete d->locationMark;
|
||||
d->locationMark = nullptr;
|
||||
if (d->engine->stackHandler()->currentFrame().file == d->path) {
|
||||
if (d->engine->stackHandler()->currentFrame().file == Utils::FilePath::fromString(d->path)) {
|
||||
int lineNumber = d->engine->stackHandler()->currentFrame().line;
|
||||
|
||||
d->locationMark = new TextMark(Utils::FilePath(), lineNumber,
|
||||
|
||||
Reference in New Issue
Block a user