DBG: more message fixes
This commit is contained in:
parent
01960c556b
commit
db17e323fe
|
@ -407,7 +407,7 @@ void TraceRecordManager::TraceExecuteRecord(const Zydis & newInstruction)
|
|||
{
|
||||
CloseHandle(rtFile);
|
||||
String error = stringformatinline(StringUtils::sprintf("{winerror@%d}", GetLastError()));
|
||||
dprintf(QT_TRANSLATE_NOOP("DBG", "Run trace has stopped unexpectedly because WriteFile() failed. GetLastError()= %s.\r\n"), error.c_str());
|
||||
dprintf(QT_TRANSLATE_NOOP("DBG", "Run trace has stopped unexpectedly because WriteFile() failed. GetLastError() = %s.\r\n"), error.c_str());
|
||||
rtEnabled = false;
|
||||
}
|
||||
}
|
||||
|
@ -552,7 +552,7 @@ bool TraceRecordManager::enableRunTrace(bool enabled, const char* fileName)
|
|||
else
|
||||
{
|
||||
String error = stringformatinline(StringUtils::sprintf("{winerror@%d}", GetLastError()));
|
||||
dprintf(QT_TRANSLATE_NOOP("DBG", "Cannot create run trace file. GetLastError()= %s.\r\n"), error.c_str());
|
||||
dprintf(QT_TRANSLATE_NOOP("DBG", "Cannot create run trace file. GetLastError() = %s.\r\n"), error.c_str());
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue