diff options
author | hjk <hjk@qt.io> | 2019-04-09 08:20:38 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-04-09 08:28:42 +0000 |
commit | 384ca4bdb8fc4f46f2848d9690379444cae76a29 (patch) | |
tree | 7e4567fcf3af92acc6446a4c7ffdf910f239442b /src/plugins/debugger/debuggerplugin.cpp | |
parent | abb9fb68e21b5ff5b7b0b06be5bbe26b06fbd715 (diff) |
Debugger: Fix "Attach to running process"
Change-Id: I3cef08621c40c87f52e20a229ab5e16f0bfa8bb1
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerplugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 51ef9293c6..29aced6f90 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -1740,6 +1740,7 @@ RunControl *DebuggerPluginPrivate::attachToRunningProcess(Kit *kit, } auto runControl = new RunControl(ProjectExplorer::Constants::DEBUG_RUN_MODE); + runControl->setKit(kit); auto debugger = new DebuggerRunTool(runControl); debugger->setAttachPid(ProcessHandle(process.pid)); debugger->setRunControlName(tr("Process %1").arg(process.pid)); |