This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 158612 - Cahanges to PHP files lost while debugging
Summary: Cahanges to PHP files lost while debugging
Status: RESOLVED DUPLICATE of bug 156220
Alias: None
Product: php
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: rmatous
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-16 14:56 UTC by mv7402
Modified: 2009-02-16 15:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mv7402 2009-02-16 14:56:21 UTC
While dbigging PHP code, IDE opens another of the file (with green step debug line) which you can edit, but will loose 
those changes.
This bug is very annoying and misleading. Very easy to reproduce:
- install x-debug
- create some test php file
- start debugging it
  === You will see that Netbeans open another editor instance of this file. This new file instance wouldn't have LOCAL 
HISTORY. 
      If you change that file, changes will be done only on server directory. Thus you will loose changes if update 
sever or restart Netbeans (NB) and edit this file. 
I lost some changes couple times. It wasn't happening with some previous NB version. Please fix ASAP.
Please, let me know if you have any questions.
Regards,
Vlad

You should set break point and start debugging to see that NB opening another instance of the file. Initial file will 
have break point (reg line) and the new instance have just green line highlighting current debugging line.
Regards,
Vlad
Comment 1 rmatous 2009-02-16 15:27:34 UTC

*** This issue has been marked as a duplicate of 156220 ***