Is there any way to STOP the loop of the IDApython ?

I want to stop the loop processing of IDAPython with any timing after starting the IDAPython(which contain loop function) from IDApro menu -> File -> Script command. Is there any keyboard shortcut to stop the script ?

1 Answer 1


A "wait box" comes up when a Python script is running for a while; you can click "cancel" to stop the script. Via keyboard, that should just be ENTER if that dialog has the keyboard focus.

  • Thank you so much. The wait box repeats show over and over, but the display is instantaneous and too fast to press. Is there any other way to do this?
    – rou qwers
    Mar 15, 2021 at 5:15
  • I can stop it by pressing Enter key repeatedly, thanks.
    – rou qwers
    Mar 15, 2021 at 5:20
  • And if you ever go on to develop your own scripts, never write except KeyboardInterrupt: return which will bite you one day. :) Now if only I could find a way to abort scripts launched from IPyIda, which is otherwise an excellent improvement on the Python console line (though it does need a few patches to fix the annoyances). Mar 16, 2021 at 15:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.