IDE

Execution history

Execute history lists the code you have run, newest first, so you can go back to something that worked before you changed it.

Finding a run

The list shows recent runs for the language you are working in. Choose one and you see the code and the output it produced at the time.

To look further back, set a From and To date and choose Show results.

Bringing it back

Load into editor puts the code from that run into your editor, so you can carry on from a version that worked.

This replaces what is currently in the editor, so save your current work first if you want to keep it.

Where the history is kept

This is the important part.

Your execution history is stored in your browser, not in your JDoodle account. That has three consequences:

  • It does not follow you between machines. The history on your laptop is not the history on your work computer.
  • It does not follow you between browsers. Chrome and Firefox each keep their own.
  • Clearing your browser data deletes it. So does using private or incognito windows.

The Remember history in this browser checkbox controls whether runs are kept at all. Turn it off on a shared or public machine, where you do not want your code left behind for the next person.

What next

Projects are the durable copy. They are saved automatically and available wherever you sign in.

This website uses cookies to ensure you get the best experience on our website.