PLS-Recovery files

Hello all,

I run PL/SQL Developer (Version 14.0.6.1988 - 64 bit) on a multiuser remote virtual machine. Usually I do not close any running application when I'm done with daily job, I just exit the VM. Until few, whenever Developer was exited in an "unclean" way (for example, if the VM was rebooted), next time it was started up the recovery window popped up, and I was able to recover all my work.

Since last summer, nevertheless, this is not working properly. After reboot, the PLS-Recovery folder exists, and is dated at the moment the VM was stopped, but files in there are named desktop.xxx, and are not dated at the same time the folder was, but at some previous moment, all of them files sharing the same date.

Looking at the desktop.cfg file, it points to files named desktop.001, desktop.002, and so on. That is to say, PL/SQL Developer is saving the recovery opened files and the config recovery file with that name "desktop", despite the recovery window will not pop up if the config recovery file is not named with an all-numbers name.

So just changing the desktop.cfg file name to something containing only numbers (like 123456.cfg) makes the recovery window to pop up when opening Developer, but then to recover an old version of the opened files.

Even odd behaviour: A backup from the PL/SQL Developer folder at some moment before the VM was stopped contains up to date (to the moment of the backup, obviously) files, with all-numbers names.

So it looks as if when the VM is being stopped, the contents of the PLS-Recovery folder are being overwritten (by what process? by PL/SQL Developer itself??) with an older version of the files that at some moment PL/SQL Developer created with a name that it will not recognise later...

I am setting up now an automated daily (nightly) copy of the PLS-Recovery folder, as it seems that its contents are being updated, to be able to easly recover last day files, but I find this to be an acceptable temporary workaround, but an awfull permanent solution... Any suggestion on what can be happening? Any suggestion on how to avoid it??

Thanks in advance,
Ernesto.
 
I'm not sure what is causing this, but it is recommended to use the Workset feature if you want to preserve unsaved and uncompiled changes. See also chapter 15 in the User's Guide:

15. Worksets
A workset is a set of Program Windows, SQL Windows, Test Windows, Command Windows, Report Windows and Diagram Windows that you are working on. Changes made to these windows are preserved when closing and reopening PL/SQL Developer, even if you have not explicitly saved or compiled these changes. After finalizing your work you can apply the workset, so that changes to the files and database objects are permanently saved. A workset holds the window contents, sizes and positions. When a workset is reopened later, windows will be restored exactly like they were previously used. All workset-related functions are accessible from the Workset group on the File ribbon.
 
I am having the same issue that ErnestoAleva had above and have not been able to get any help. If any one could help I will appreciate. Thanks
 
Back
Top