Note that there are some explanatory texts on larger screens.

plurals
  1. POPHP (WAMP) - Exlipse PDT, xDebug: not stopping at breakpoint
    text
    copied!<p>I am able to debug only if I check the Option <strong>"Break at First line"</strong>. If I un-check it and place a breakpoint at some line then the debugger doesn't stop at that line.</p> <p><strong>I need the debugger to stop at the breakpoints I set, not at the fist line of the file.</strong></p> <p>I've added the following lines in my php.ini file:</p> <pre><code>zend_extension = "c:/wamp/bin/php/php5.3.8/ext/php_xdebug-2.1.2-5.3-vc9.dll" xdebug.remote_enable = on xdebug.remote_handler = dbgp xdebug.remote_host = localhost xdebug.remote_port = 9000 </code></pre> <p>I'm also being able to debug properly on <strong>Notepad++ DBGp debugger</strong> with this same setting.</p> <p>There are similar posts on SO but none solves my problem. In SO question <a href="https://stackoverflow.com/questions/13522671/can-not-make-php-pdt-xdebug-to-stop-at-breakpoints-in-eclipse">"Can not make PHP PDT xDebug to stop at breakpoints in Eclipse"</a>, <a href="https://stackoverflow.com/users/869779/devnull">DevNull</a> says the problem was solved for Juno, but I'm using Juno myself and having the problem.</p> <p>Here are some screenshots of my Eclipse settings: <li> <strong>Window --> Preferences --> PHP --> Debug:</strong> <img src="https://i.stack.imgur.com/tzHsz.png" alt="enter image description here"> </li> <li> <strong>Window --> Preferences --> PHP --> PHP Executables:</strong> <img src="https://i.stack.imgur.com/crydY.png" alt="enter image description here"> </li> <li> <strong>Window --> Preferences --> PHP --> PHP Executables --> Execution Environment:</strong> <img src="https://i.stack.imgur.com/EVAuN.png" alt="enter image description here"> </li> <li> <strong>Window --> Preferences --> PHP --> PHP Interpreters:</strong></p> <p><img src="https://i.stack.imgur.com/v5C9q.png" alt="enter image description here"> </li> <li> <strong>Window --> Preferences --> PHP --> PHP Servers:</strong> <img src="https://i.stack.imgur.com/9zFGE.png" alt="enter image description here"> </li> <li></p> <p>I'm using Mozilla Firefox as my external web browser. (<strong>Window --> General --> Web Browser</strong>) </li> <li> The Project <strong>Debug Configuration --> PHP Web Application --> Debugger --> Server Debugger</strong> is set to <strong>XDebug</strong> and XDebug debug port is set to <code>9000</code> </li> </p> <p>Hope those will help someone help me.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload