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 122641 - Debug project ask to replace files twice
Summary: Debug project ask to replace files twice
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-23 14:19 UTC by Ivan Sidorkin
Modified: 2008-05-28 12:05 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 Ivan Sidorkin 2007-11-23 14:19:30 UTC
- create php project
- run project (to upload files)
- debug project

twice asked to replace index.php
Comment 1 Denis Anisimov 2007-11-23 14:50:03 UTC
Cannot reproduce.
Please provide more details.

I have used local web server and there was no any question about replacement at all.
Comment 2 Ivan Sidorkin 2007-11-23 15:01:33 UTC
Overwrite Existing File option should be set to Ask Me
Comment 3 Denis Anisimov 2007-11-23 15:19:43 UTC
Ok, 
reproduced.

Debug command impl execute run files command twice : firstly for one file in selected set
for initializing debug session and after initialization it runs other files.
The case when there is only one file should be handled separately and in this case
there is no need to perform second "run" command on empty set of files.
Comment 4 Denis Anisimov 2007-12-04 13:50:57 UTC
    Checking in php/rtexplorer/src/org/netbeans/modules/php/rt/providers/impl/actions/DebugCommandImpl.java;
    /cvs/scripting/php/rtexplorer/src/org/netbeans/modules/php/rt/providers/impl/actions/DebugCommandImpl.java,v  <-- 
DebugCommandImpl.java
    new revision: 1.14; previous revision: 1.13
    done
Comment 5 Ivan Sidorkin 2008-05-28 12:05:30 UTC
verified