Debuggen Zend-Framework-Projekt mit NetBeans / XDebug

Hat sich schon jemand in der Lage, NetBeans Debuggen eines Zend-Framework-Projekt? Ich habe XAMPP läuft lokal auf meinem Rechner, sowie NetBeans 6.8. Von den blicken von phpinfo(), XDebug richtig installiert auf XAMPP. Ich starte debugging-Sitzung mit NetBeans, es verbindet sich mit XDebug und die Seite öffnet sich, aber es wird nicht aufhören, an jedem break point.

Dies ist ein Auszug aus dem NetBeans-log, wenn du interessiert bist:

<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug"      command="step_into" transaction_id="165" status="stopping" reason="ok"></response>
FINE [org.netbeans.modules.php.dbgp.ServerThread]
java.net.SocketTimeoutException: Accept timed out
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(Unknown Source)
        at java.net.ServerSocket.implAccept(Unknown Source)
        at java.net.ServerSocket.accept(Unknown Source)
        at org.netbeans.modules.php.dbgp.ServerThread.run(ServerThread.java:47)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[catch] at java.lang.Thread.run(Unknown Source)

Dieser timeout sieht verdächtig aus, aber ich bin mir nicht sicher, ob es das problem verursacht.

Dies ist ein Auszug aus meiner php.ini-Konfiguration:

extension=php_xdebug-2.0.5-5.3-vc6.dll
xdebug.extended_info = 1
xdebug.idekey = "netbeans-xdebug"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "localhost"
xdebug.remote_port = 9000

Haben Sie irgendwelche Vorschläge?

InformationsquelleAutor Ariod | 2010-02-13
Schreibe einen Kommentar