Fix debug not working with paths that have a space in them (#1978)

* Fix debug not working with paths that have a space in them
* Updated r2 for spaced paths fix and other debug fixes
This commit is contained in:
yossizap 2019-12-30 15:00:54 +00:00 committed by Itay Cohen
parent cac0b5ad09
commit 7e6a8ae17a
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit c6d0c4a704eb2e273281857db44d6974cbb2ef26
Subproject commit 2461780fcd8140eb9fba6611ec54e468f82609dd

View File

@ -303,7 +303,7 @@ void DebugActions::attachProcess(int pid)
void DebugActions::startDebug()
{
// check if file is executable before starting debug
QString filename = Core()->getConfig("file.path").section(QLatin1Char(' '), 0, 0);
QString filename = Core()->getConfig("file.path");
QFileInfo info(filename);
if (!Core()->currentlyDebugging && !info.isExecutable()) {