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 177242 - Ending Xdebug session doesn't stop script from running on server
Summary: Ending Xdebug session doesn't stop script from running on server
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal with 2 votes (vote)
Assignee: rmatous
URL:
Keywords:
: 170317 179357 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-19 14:12 UTC by johnnywalker
Modified: 2010-02-09 06:26 UTC (History)
3 users (show)

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 johnnywalker 2009-11-19 14:12:26 UTC
After stopping a debugging session, a the PHP script will continue to run.

<?php

for ($i = 0; $i < 100; $i++) {
    echo $i, "\n";
    usleep(5000);
}

?>

After Shift+F5 to end the debugging session, this script will continue until it ends.

Server:  Apache/2.2.3 (CentOS), PHP 5.2.11, Xdebug 2.0.5.
Client: Windows XP, NetBeans IDE 6.8 Beta (Build 200910212001)
Comment 1 Filip Zamboj 2009-12-02 07:42:36 UTC
*** Bug 170317 has been marked as a duplicate of this bug. ***
Comment 2 Filip Zamboj 2009-12-02 07:45:08 UTC
I need Radek Matous to comment on this. So far I can tell it's reproducible and not new. Running process is not stopped when you close the session from IDE. 

@radek: could you please comment on this? Is there any way to fix this? Thanks. 

It's not a stopper as suggested on NetCat forum!.
Comment 3 Filip Zamboj 2010-01-25 06:12:53 UTC
*** Bug 179357 has been marked as a duplicate of this bug. ***
Comment 4 rmatous 2010-01-25 06:41:49 UTC
P3 -> P2
Comment 5 Quality Engineering 2010-02-08 21:39:57 UTC
Integrated into 'main-golden', will be available in build *201002090200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e71c5b5cf4ab
User: Radek Matous <rmatous@netbeans.org>
Log: - #180252 - Socket Exception occoured Error with php 5.3.1+NB 6.8+xdebug 2.0.5 on opensuse 11.1 64bit
- #177242 - Ending Xdebug session doesn't stop script from running on server
- unrelated refactoring changes
Comment 6 rmatous 2010-02-09 02:41:29 UTC
http://hg.netbeans.org/web-main/rev/e71c5b5cf4ab
http://hg.netbeans.org/web-main/rev/72fc31a44e21

- #180252 - Socket Exception occoured Error with php 5.3.1+NB 6.8+xdebug 2.0.5 on opensuse 11.1 64bit
- #177242 - Ending Xdebug session doesn't stop script from running on server
- unrelated refactoring changes
Comment 7 Filip Zamboj 2010-02-09 06:26:27 UTC
Product Version: NetBeans IDE Dev (Build 2010-02-09_15-04-08 )
Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01

verified