6

So it's easy to transfer the standard input and output in radare2 to a new terminal using rarun2, here's how: Debugging with radare2 using two terminals

i was wondering if i can use rarun2 with Cutter or even display the program's output in the cutter console?

Edit: I'm using Ubuntu 18.04

  • What is your host OS? – Biswapriyo Nov 24 '19 at 8:09
4

Good news! In Cutter v1.10 (December 20, 2019) the team introduced native and remote debugger support. By default, the STDIO of the debuggee is redirected to the Console Widget inside Cutter.

Downloading the latest release
To download the recent version of Cutter you can go to the official website and click on the Download button. It will automatically detect your OS and give you the right file to download.

Debugging
Open Cutter and choose a file to analyze. On the following dialog configure the settings as you wish, you can leave it as-it for the defaults.

On the interface of Cutter you can start debugging by either of the following ways:

  1. Press F9 to execute native debug

  2. Click the green button at the top of the interface to start Debug
    enter image description here

  3. Click on the "Debug" menu and choose Start Debug
    enter image description here

Then, click Play and the program will run. On Linux, you will see the STDIO in the Console Widget (open it from Windows -> Console). You can interact with it and send it input.

enter image description here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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