Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Helios not stopping at breakpoints

Tags:

eclipse

xdebug

I recently upgraded from Eclipse Galileo to Helios. Helios stops at breakpoints ONLY when debugging "as a PHP Script", but not when debugging "as a Web Page".

When debugging as a web page, it looks like the correct debug query string to start a debug session is getting tacked on to the url, like so:

http://localhost/hello.php?XDEBUG_SESSION_START=ECLIPSE_DBGP &KEY=129798139020511

but elipse does not stop at the breakpoints. It just zooms thru the code and displays the output in the browser.

This is my xdebug configuration in php.ini that works for Galileo, but is not working for Helios: (click here to see my entire xdebug config settings)

;extension=xdebug.so <-- is this needed?
zend_extension=" /Applications/MAMP/bin/php5.3/lib/php/extensions/no-debug-no n-zts-20090626/xdebug.so "
xdebug.remote_enable=on
xdebug.remote_autostart=off
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.idekey=

; to enable remote debugging
zend_debugger.allow_hosts=127.0.0.1/32
zend_debugger.expose_remotely=always 

Can you post your xdebug configuration that works for Helios? If possible, can you share the xdebug portion of your phpinfo() output? Would like to compare settings of an xdebug configuration that works on Helios with what I have.

like image 806
RBR Avatar asked Nov 15 '22 02:11

RBR


1 Answers

I am having the exact same issue. I did find some bug reports about breakpoints in Galileo not being able to be used in Helios. I can get Helios to stop on breakpoints at times, but I have to delete all my breakpoints and then start debugging, and only after that add a breakpoint. Needless to say this is very annoying. I'll try and find the link that I saw and add it to here.

For now I've gone back to Galileo.

Malks.

like image 118
Malks Avatar answered Dec 17 '22 20:12

Malks