| View previous topic :: View next topic |
| Author |
Message |
Elroy Peters Posted via mailing list.
|
Posted: Mon Dec 08, 2008 12:29 am Post subject: debugging opens an already opened file(data may be lost) |
|
|
I have a problem while debugging my php website. if I start debugging and I have a file open for example page2.php.
and in page 2 I put a break point. when I start index.php and klik to go to page2.php netbeans wil open another tab for page2.php
so now I have the same file opened twice. and if I make some changes in the one file and save. and then I close the other file.
some times netbeans doesnr know wich file is wich and I end up loosing all my work in that file.
I don't know if this is already known. but I would like to share. |
|
| Back to top |
|
 |
Mikhail Matveev Posted via mailing list.
|
Posted: Mon Dec 08, 2008 1:17 pm Post subject: debugging opens an already opened file(data may be lost) |
|
|
Hi Elroy,
I can't reproduce this issue for the last dev build. If your problems persists, could you please file issue here
http://www.netbeans.org/issues and add more details about your case?
Thanks,
Misha
Elroy Peters wrote:
| Quote: | I have a problem while debugging my php website. if I start debugging
and I have a file open for example page2.php.
and in page 2 I put a break point. when I start index.php and klik to go
to page2.php netbeans wil open another tab for page2.php
so now I have the same file opened twice. and if I make some changes in
the one file and save. and then I close the other file.
some times netbeans doesnr know wich file is wich and I end up loosing
all my work in that file.
I don't know if this is already known. but I would like to share.
|
|
|
| Back to top |
|
 |
areeda
Joined: 28 Aug 2008 Posts: 88
|
Posted: Sat Dec 20, 2008 4:42 pm Post subject: More info |
|
|
An issue has been opened: issue 154988
Here's what I added
| Quote: | I'm seeing the same thing but only on Windows, not Linux. I also have the file that is being duplicated in a
subdirectory. Linux is my production system. It's a database app so I want a safe place to debug. I check it into CVS
and check it out in Windows. The only thing changed is the folder to copy the files to.
The duplicate window does seem to be the correct file and a work around seems to be to make sure to close the duplicate
window making sure to only make corrections in the original. |
I can work around it as long as I always remember which file is which.
Is there any way to figure out the path to an opened file?
As far as I can tell if you make a change to the phantom file and save it it doesn't go anywhere. The original file is not modified and AFAIK a duplicate is not being saved.
Joe |
|
| Back to top |
|
 |
lgammo
Joined: 01 Apr 2009 Posts: 1
|
Posted: Wed Apr 01, 2009 8:02 am Post subject: |
|
|
Hello,
For me the problem happened while debugging a project on a local server. I have the source project in a directory (say: c:\project) and I check the copy source to another location (say: c:\webroot) so that the HTTP server sees the site.
What is happening is that while debugging, I get the files from the web root opened in the IDE. I would have expected the original source files to open. Of course, the same file can be opened from the source directory leading to the complaint that you have to check which file you are editing.
 |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|