Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
lievenhey committed Jul 28, 2023
1 parent 1bdcc71 commit b680ee4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/models/sourcecodemodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ void SourceCodeModel::setDisassembly(const DisassemblyOutput& disassemblyOutput,
continue;
}

qDebug() << line.fileLine;

// maxLineNumber and minLineNumber are used to show the source code so we only update them when we are in the
// current file
if (line.fileLine.file == disassemblyOutput.mainSourceFileName) {
Expand Down
2 changes: 2 additions & 0 deletions tests/modeltests/tst_models.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,8 @@ private slots:
const quint64 size = match.captured(2).toInt(&ok, 10);
Q_ASSERT(ok);

qDebug() << output << address << size;

Data::Symbol symbol = {QStringLiteral("main"), address, size, QStringLiteral("cpp-recursion"), {}, binary};

SourceCodeModel model(nullptr);
Expand Down

0 comments on commit b680ee4

Please sign in to comment.