mirror of
https://github.com/x64dbg/x64dbg.git
synced 2024-11-26 22:30:22 +00:00
WIP: some minor improvements to tracing errors
This commit is contained in:
parent
f444626b45
commit
28bb79c8be
@ -106,7 +106,7 @@ bool cbDebugInit(int argc, char* argv[])
|
||||
case PeArch::DotnetAnyCpu:
|
||||
dputs(QT_TRANSLATE_NOOP("DBG", "Use x64dbg to debug this file!"));
|
||||
#endif //_WIN64
|
||||
return false;
|
||||
//return false;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@ -232,7 +232,7 @@ bool cbDebugAttach(int argc, char* argv[])
|
||||
#else
|
||||
dputs(QT_TRANSLATE_NOOP("DBG", "Use x64dbg to debug this process!"));
|
||||
#endif // _WIN64
|
||||
return false;
|
||||
//return false;
|
||||
}
|
||||
if(!GetFileNameFromProcessHandle(hProcess, szDebuggeePath))
|
||||
{
|
||||
|
@ -2810,7 +2810,7 @@ static void debugLoopFunction(INIT_STRUCT* init)
|
||||
#else
|
||||
dputs(QT_TRANSLATE_NOOP("DBG", "Use x64dbg to debug this process!"));
|
||||
#endif // _WIN64
|
||||
return;
|
||||
//return;
|
||||
}
|
||||
|
||||
//set script variables
|
||||
|
@ -432,7 +432,7 @@ static bool readBlock(QFile & traceFile)
|
||||
return false;
|
||||
}
|
||||
else
|
||||
throw std::wstring(L"Unsupported block type");
|
||||
throw std::wstring(L"Unsupported block type " + std::to_wstring(traceFile.pos()));
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -481,7 +481,7 @@ void TraceFileParser::run()
|
||||
}
|
||||
catch(const std::wstring & errReason)
|
||||
{
|
||||
//MessageBox(0, errReason.c_str(), L"debug", MB_ICONERROR);
|
||||
GuiAddLogMessage((QString::fromStdWString(errReason) + "\n").toUtf8().constData());
|
||||
that->error = true;
|
||||
}
|
||||
catch(std::bad_alloc &)
|
||||
|
Loading…
Reference in New Issue
Block a user