aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorMarcus Tillmanns <[email protected]>2022-09-14 16:41:41 +0200
committerMarcus Tillmanns <[email protected]>2022-09-26 09:49:44 +0000
commit090dfb7ca5b9f63304f9398a13000d0918ac04f0 (patch)
treeeaba6d241080b656939f06a23a3a75ac73dc7a08 /src/plugins
parent33abca1c0b212579923d65df0c239ca4134e7ea9 (diff)
DockerDevice: Fix debug-dumpers not found
Since the dumper path was changed after the first "startContainer" call, subsequent startContainer calls would set the wrong source directory. Change-Id: I6e8304c080b4b55fc67eda0a9544a1b8f34ab7a1 Reviewed-by: hjk <[email protected]> Reviewed-by: <[email protected]>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/docker/dockerdevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/docker/dockerdevice.cpp b/src/plugins/docker/dockerdevice.cpp
index c4274da06f8..58641b32010 100644
--- a/src/plugins/docker/dockerdevice.cpp
+++ b/src/plugins/docker/dockerdevice.cpp
@@ -474,7 +474,7 @@ bool DockerDevicePrivate::createContainer()
dockerCreate.addArgs({"-v", mount + ':' + mount});
}
FilePath dumperPath = FilePath::fromString("/tmp/qtcreator/debugger");
- dockerCreate.addArgs({"-v", q->debugDumperPath().toUserOutput() + ':' + dumperPath.path()});
+ addTemporaryMount(Core::ICore::resourcePath("debugger/"), dumperPath);
q->setDebugDumperPath(dumperPath);
for (const auto &[path, containerPath] : qAsConst(m_temporaryMounts)) {