Pages: [1]   Go Down
Author Topic: Are temp versions of sketch files saved?  (Read 672 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've had something strange happen...  I have a sketch... I haven't saved it yet, though I have compiled it and uploaded the bits to my Arduino.  A little while ago, I ran the Windows update tool and updated my system (Windows 7, 64-bit) with the Arduino IDE running (and the sketch unsaved).

As soon as I started the update, I was not able to get back into the Arduino IDE... it's running but I'm not able to switch to the process.  My guess is that the Windows updater closed down the Java runtime.

If possible, I'd like to recover the work I did.  Though still running, I think the Arduino IDE process is toast at this point, but I was wondering if the Arduino IDE stores temp versions of the sketch files (the un-compiled source code, that is).

Thanks,

Jeff
Logged

Chile
Online Online
Edison Member
*
Karma: 32
Posts: 1233
Arduino rocks?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

On every compilation, the IDE makes some temporal files. They are not exactly the same as the original sketch but you can recover the code, open %temp% in Windows. Last directory created should be the one with your code.

I added a option in my modded IDE to simplify this process:

http://arduino.cc/forum/index.php/topic,118440.0.html
Logged

My website: http://ried.cl

Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks!  I'll try this out and report back how it went.

Jeff
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Eried,

I was able to locate the file and recover it.

Thanks again!

Jeff
Logged

Chile
Online Online
Edison Member
*
Karma: 32
Posts: 1233
Arduino rocks?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Nice!
Logged

My website: http://ried.cl

Pages: [1]   Go Up
Jump to: