mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-24 05:45:27 +00:00
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:
parent
cac0b5ad09
commit
7e6a8ae17a
2
radare2
2
radare2
@ -1 +1 @@
|
|||||||
Subproject commit c6d0c4a704eb2e273281857db44d6974cbb2ef26
|
Subproject commit 2461780fcd8140eb9fba6611ec54e468f82609dd
|
@ -303,7 +303,7 @@ void DebugActions::attachProcess(int pid)
|
|||||||
void DebugActions::startDebug()
|
void DebugActions::startDebug()
|
||||||
{
|
{
|
||||||
// check if file is executable before starting debug
|
// 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);
|
QFileInfo info(filename);
|
||||||
if (!Core()->currentlyDebugging && !info.isExecutable()) {
|
if (!Core()->currentlyDebugging && !info.isExecutable()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user