View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001038 | Xdebug | Uncategorized | public | 2014-03-18 12:20 | 2014-05-02 09:22 |
Reporter | po_taka | Assigned To | derick | ||
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | Ubuntu 12.04 | ||
Product Version | 2.2.4 | ||||
Fixed in Version | 2.2.5 | ||||
Summary | 0001038: I'm able to debug only once | ||||
Description | Hello, | ||||
Steps To Reproduce | Start xDebug session, complete debug session. Unable to start debug session again. I need to restart the IDE to start new debug session. | ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 5.3.10 | ||||
|
hi, |
|
Confirm this bug on Windows XP and Windows 7 with Netbeans 7.4 and 8.0, latest PHP 5.4 and 5.5. Downgrading xdebug helps. Although this is most likely Netbeans issue. |
|
Hi! Please fix it and this http://bugs.xdebug.org/view.php?id=996 issue too! |
|
Confirm this on Mac - Mavericks, Netbeans 8. PHP Version 5.4.26 from Bitnami Mampstack, Xdebug v2.2.4. I downgraded to test, installing 2.2.3, and have the same behavior. Same using PHPStorm 7.1.3. Same with debugclient. There is no connection on port 9000 (no listener or sender) after failure. Following is testing on Netbeans 8.0. Netbeans 7.4 does suffer same issue as far as my testing shows. It appears that the real problem occurs when the debugged task reaches a self-imposed termination from an exception, but this seems rather normal. I can debug using XDebug on simple Test_XDebug and complex scripts, (see that port is up: Port Scanning host: 127.0.0.1
Port Scan has completed… "/mampstack/php/bin/php" "/mampstack/test_xdebug.php" then a rerun and "/mampstack/php/bin/php" "/mampstack/test_xdebug.php" (which is expected) Then I do a debug in Netbeans (this was traced with prints) (above was expected behavior) (I leave script above active in NetBeans - I Do not push STOP on debug session) XDebug still appears active on scan. Port Scanning host: 127.0.0.1
Port Scan has completed… BUT I get message in Netbeans: Xdebug Waiting for connection message BUT, then I push Stop on Debug session, and: Port Scan has started… Port Scanning host: 127.0.0.1 Port Scan has completed… So, XDebug is really gone. Also, Netbeans debugging is off..... This may indicate that NetBeans is the issue, but I can't tell. I then restart Netbeans - XDebug Waiting for Connection stays on. Then restart apache and netbeans, and XDebug works again, SOMETIMES When I run the same script on the command line, I can get it to operate easily, and then: (cmd) run -i transaction_id bind: couldn't bind AF_INET socket? I am presuming that something in my script in php kills xdebug, and that it is not a netbeans problem really, and that it is really the 'bind: couldn't bind AF_INET socket?' message getting back to netbeans and causing netbeans to lock up. php.ini relevant xdebug.auto_trace=On xdebug.trace_enable_trigger=On xdebug.dump_undefined=On |
|
Can you please try the latest code from github - on the xdebug_2_2 branch? You can get that with: git clone https://github.com/xdebug/xdebug.git And then you can run: If you are on Windows, you can find new binaries at: |
|
I try to use php_xdebug-master-5.5-vc11.dll, and I can't connect to xDebug from PhpStorm. Apache/2.4.9 (Win32) OpenSSL/1.0.1f PHP/5.5.11 xdebug xdebug support enabled I have tried many times. Nothing worked. Then went to drink tea. When I returned, all by itself earned! This is Fantastic! |
|
derick, I try from github xdebug_2_2 branch (2.2.5dev) and works fine for me. |
|
I can see why so many issues arise from XDebug, as I understand how timeouts affect the reconnection structure of clients to the xDebug server facility. I hope that the team (the fabulous, wonderful, giving developers) of xDebug will address the timeouts by a self-checking structure (beacon/sentinal, polling etc.) to reestablish the connection whenever it becomes broken and must wait for a timeout. It might be best to allow a user to set a timeout setting to obtain more responsive reconnections. I don't really know the detailed existing structure, so all of this is based upon my observations and what I have seen in various posts related to Xdebug. |
|
Also, please tell me if there is a problem with me or if engine is not updated. I am using PHP 5.4.26. I am using a reinstalled version of XDebug 2.2.5, but get engine of 2.2.3: -> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///mampstack/test_xdebug.php" language="PHP" protocol_version="1.0" appid="92596" idekey="netbeans-xdebug"><engine version="2.3.0dev"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2013 by Derick Rethans]]></copyright></init> -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" status="stopping" reason="ok"></response> |
|
I do think that there is an issue with Netbeans connecting properly to XDebug. I am very often getting Waiting for Connection, even though xdebugclient and xdebug appear to work well in terminal on Mac. Log opened at 2014-04-25 15:14:48 -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" status="stopping" reason="ok"></response> Log closed at 2014-04-25 15:14:57 |
|
I confirm this bug on Windows XP with Eclipse IDE: PHP 5.2 and XDebug 2.2.4. does not work. PHP 5.4 and XDebug 2.2.4. does not work. |
|
I confirm the problem in php.ini I downloaded from http://xdebug.org/files/xdebug-vc11-latest.tgz Problem solved. |
|
Fixed in the recently released 2.2.5: http://xdebug.org/updates.php#x_2_2_5 |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-03-18 12:20 | po_taka | New Issue | |
2014-03-19 15:12 | hxpro | Note Added: 0002772 | |
2014-03-26 06:25 | contemplator | Note Added: 0002777 | |
2014-04-05 20:44 | mistbow | Note Added: 0002781 | |
2014-04-21 13:01 | dvandusen | Note Added: 0002787 | |
2014-04-21 13:11 | dvandusen | Note Edited: 0002787 | |
2014-04-21 13:13 | dvandusen | Note Edited: 0002787 | |
2014-04-21 13:14 | dvandusen | Note Edited: 0002787 | |
2014-04-21 16:13 | dvandusen | Note Edited: 0002787 | |
2014-04-21 16:15 | dvandusen | Note Edited: 0002787 | |
2014-04-21 16:24 | dvandusen | Note Edited: 0002787 | |
2014-04-21 16:55 | dvandusen | Note Edited: 0002787 | |
2014-04-21 16:59 | dvandusen | Note Edited: 0002787 | |
2014-04-21 17:05 | dvandusen | Note Edited: 0002787 | |
2014-04-21 17:28 | dvandusen | Note Edited: 0002787 | |
2014-04-21 18:00 | dvandusen | Note Edited: 0002787 | |
2014-04-21 20:01 | dvandusen | Note Edited: 0002787 | |
2014-04-21 20:05 | dvandusen | Note Edited: 0002787 | |
2014-04-24 22:45 | derick | Note Added: 0002788 | |
2014-04-24 22:45 | derick | Assigned To | => derick |
2014-04-24 22:45 | derick | Status | new => feedback |
2014-04-25 11:05 | mistbow | Note Added: 0002792 | |
2014-04-25 11:30 | mistbow | Note Edited: 0002792 | |
2014-04-25 11:55 | hxpro | Note Added: 0002793 | |
2014-04-25 12:13 | dvandusen | Note Added: 0002794 | |
2014-04-25 15:18 | dvandusen | Note Added: 0002795 | |
2014-04-25 15:20 | dvandusen | Note Added: 0002796 | |
2014-04-25 15:20 | dvandusen | Note Edited: 0002796 | |
2014-04-28 11:50 | suspi | Note Added: 0002803 | |
2014-05-01 18:21 | pavlosgr | Note Added: 0002805 | |
2014-05-02 09:22 | derick | Note Added: 0002806 | |
2014-05-02 09:22 | derick | Status | feedback => closed |
2014-05-02 09:22 | derick | Resolution | open => fixed |
2014-05-02 09:22 | derick | Fixed in Version | => 2.2.5 |
2016-07-31 12:36 | derick | Category | Usage problems => Usage problems (Crashes) |
2016-07-31 12:38 | derick | Category | Usage problems (Crashes) => Usage problems (Wrong Results) |
2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |