forked from qt-creator/qt-creator
Debugger: Remove DebuggerCommand::arg(FilePath)
It's better when the user code has to be explicit in what format and/or which parts of the FilePath is needed. Change-Id: I9d70e073f853a1bbc47c8482ebe77d7c4612b4b7 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -332,7 +332,7 @@ void LldbEngine::runEngine()
|
||||
showStatusMessage(Tr::tr("Running requested..."), 5000);
|
||||
DebuggerCommand cmd("runEngine");
|
||||
if (rp.startMode == AttachToCore)
|
||||
cmd.arg("coreFile", rp.coreFile);
|
||||
cmd.arg("coreFile", rp.coreFile.path());
|
||||
runCommand(cmd);
|
||||
}
|
||||
|
||||
@@ -413,7 +413,7 @@ void LldbEngine::executeRunToLine(const ContextData &data)
|
||||
{
|
||||
notifyInferiorRunRequested();
|
||||
DebuggerCommand cmd("executeRunToLocation");
|
||||
cmd.arg("file", data.fileName);
|
||||
cmd.arg("file", data.fileName.path());
|
||||
cmd.arg("line", data.lineNumber);
|
||||
cmd.arg("address", data.address);
|
||||
runCommand(cmd);
|
||||
@@ -430,7 +430,7 @@ void LldbEngine::executeRunToFunction(const QString &functionName)
|
||||
void LldbEngine::executeJumpToLine(const ContextData &data)
|
||||
{
|
||||
DebuggerCommand cmd("executeJumpToLocation");
|
||||
cmd.arg("file", data.fileName);
|
||||
cmd.arg("file", data.fileName.path());
|
||||
cmd.arg("line", data.lineNumber);
|
||||
cmd.arg("address", data.address);
|
||||
runCommand(cmd);
|
||||
|
||||
Reference in New Issue
Block a user