Bug 19491

Summary: Preferences not persisted.
Product: [Eclipse Project] Platform Reporter: Erin Harris <eharris>
Component: DebugAssignee: Darin Wright <darin.eclipse>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P2 CC: Darin_Swanson, n.a.edgar, Randy_Giffen
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Erin Harris CLA 2002-06-06 10:24:05 EDT
Start eclipse.  Open the preferences dialog.  Click on "Debug" in the left hand 
column.  Check the "Remove terminated launches when a new launch is created" 
checkbox.  Click on "Apply" and then click "OK".  Close eclipse and then start 
it up again.  Go to the same preference page.  Note that the "Remove terminated 
launches..." checkbox is not checked.  This affects more than just the debug 
preference page, I also tried some of JDT's preference pages.  I was using the 
0602 build but I tried this on the 0606 build and it fails there as well.
Comment 1 Nick Edgar CLA 2002-06-06 10:46:28 EDT
Moving to Debug for the "Remove terminated launches when a new launch is 
created" case.

Please see bug 19494 and if there are still some you know of that are not 
covered, please add list them there.
Comment 2 Darin Swanson CLA 2002-06-06 11:10:16 EDT
I cannot reproduce on WINNT...is this related to bug 18644?
Comment 3 Nick Edgar CLA 2002-06-06 12:19:17 EDT
It doesn't sound related.
Comment 4 Erin Harris CLA 2002-06-06 13:46:47 EDT
Looking at this a little further there seem to be two problems.  One is that 
some plugins are not saving some preferences.  This seems to be covered by bug 
#19494.  The other is that preferences that were saved in F1 are no longer saved 
in F2.  This is the one I am interested in as it affects my plugin as well. To 
reproduce:
1. start eclipse
2. open the preferences dialog
3. expand "Java"
4. expand "Debug"
5. click on "Step Filtering"
6. In the Step Filtering dialog check the box beside "javax.*"
7. click "OK"
8. close eclipse
9. start eclipse again
10. Check the Step Filtering preference page and note that the checkmark is gone 
beside "javax.*"

I debugged this a little bit and it seems it is getting an IOException when it 
tries to write to the pref_store.ini file.  There doesn't appear to be anything 
wrong with my drive and I have 3G free.  I also tried it on another machine and 
it failed there as well.

This worked with the F1 driver.
Comment 5 Nick Edgar CLA 2002-06-06 13:57:25 EDT
Sorry, this probably is a dup of bug 18644.

Comment 6 Darin Swanson CLA 2002-06-06 16:02:01 EDT

*** This bug has been marked as a duplicate of 18644 ***