Bug #6397 2006-02-12 22:42

s280z28

Cannot save file

OS: WindowsXP

CB: svn1989 (modified)

Steps to reproduce:

1) Open codeblocks.cbp

2) Open debuggergdb.cpp

3) Make a change

4) Save

5) Make a change

6) Save

Expected result:

File saves

Actual result:

Error saving file: D:\Devel\codeblocks\src\plugins\debuggergdb\debuggergdb.cpp could not be saved...

(hit ok)

Codeblocks Error: can't remove file 'D:\Devel\codeblocks\src\plugins\debuggergdb\debuggergdb.cpp' (error 32: the process cannot access the file because it is being used by another process)

deb???.tmp remains in folder where file would be saved.

Category
Application::Error
Group
 
Status
Closed
Close date
2006-02-13 15:27
Assigned to
 
thomasdenk 2006-02-13 08:21

Cannot reproduce this bug. Modified/saved debuggergdb.cpp about 25 times in sequence right now, it works just as it should (I'd have been surprised if it hadn't).

Since you're using "svn1989 (modified)", could this be due to one of your modifications, maybe?

s280z28 2006-02-13 12:45

It certainly could be due to the differences in mine. I wanted to see if it was reproducable elsewhere first, to help narrow down my searches for the problem.

What's weird is this is only that file that I've noticed the problem with. And it's not a path length problem, because files with longer names work fine.

Thanks I will see what I can figure out.

thomasdenk 2006-02-13 15:27

Tried again using current HEAD (1998). Again, it works fine for me.

As you admit it may be due to a modification of yours, I'll close the bug report for now. Feel free to post another comment here if you find that you can reproduce it in a unmodified copy, this will automatically re-open the bug report.