Closed gingermouse closed 3 years ago
Should be fixed in https://github.com/radareorg/iaito/pull/56 can you confirm?
I have a new problem. Function QString filename = Core()->getFilePath() in DebugActions::startDebug() in DebugActions.cpp returns a file name with '\n' in the end of string. Then QFileInfo info(filename) always set "False" in isExecutable. It works well if I delete '\n' in filename: for it I used filename = filename.trimmed();
I checked last version of Iaito. There aren’t any problems. Thanks!
Awesome! Thanks for confirming!
Environment Details
Description
Hello! I have a problem with Debug mode. When I start debug (F9) in Iaito I have a message: I tried to start debug mode in radare2 and it worked good. You can see that there is a message “r_config_get: variable 'file.path' not found” in Console. It’s function of radare2. I found out the problem had function of Iaito: void DebugActions::startDebug() in DebugActions.cpp when it called Core()->getConfig("file.path"): In fact it called function r_config_get of radare2: // Iaito.cpp Radare2 don’t have item “file.path” after version 4.5.1. For example there is item “file.path” in version 4.5.1: // cconfig.c There isn’t item “file.path” in cconfig.c of version over 4.5.1. I think this is the reason for the broken debug mode. P.s. You can see I have Iaito's version 5.2.2. But 5.3.1 version has the same code in those functions. #