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:
hjk
2022-11-17 14:03:43 +01:00
parent c5296c0bf6
commit e0b856f0b0
5 changed files with 6 additions and 12 deletions

View File

@@ -1114,7 +1114,7 @@ void BreakpointItem::addToCommand(DebuggerCommand *cmd) const
cmd->arg("function", requested.functionName);
cmd->arg("oneshot", requested.oneShot);
cmd->arg("enabled", requested.enabled);
cmd->arg("file", requested.fileName);
cmd->arg("file", requested.fileName.path());
cmd->arg("line", requested.lineNumber);
cmd->arg("address", requested.address);
cmd->arg("expression", requested.expression);