Hello. Found an issue with DBG 4.6.3 loaded through Zend Extension Manager with Optimizer enabled.
PhpED 7.0.43
Server is running FreeBSD 9.0-RELEASE i386, Apache 2.2.22, php 5.2.17 as Apache module, DBG 4.6.3
php.ini has
[Zend]
zend_extension="/usr/local/lib/php/20060613/dbg-php-5.2.so"
zend_optimizer.optimization_level=15
zend_optimizer.license_path="/usr/local/Zend/lic"
zend_extension_manager.optimizer="/usr/local/lib/php/20060613/Optimizer"
zend_extension_manager.optimizer_ts="/usr/local/lib/php/20060613/Optimizer_TS"
zend_extension="/usr/local/lib/php/20060613/ZendExtensionManager.so"
zend_extension_ts="/usr/local/lib/php/20060613/ZendExtensionManager_TS.so"
[debugger]
debugger.enabled=on
debugger.hosts_allow=ALL
debugger.JIT.host=192.168.1.2
debugger.JIT.port=7869
debugger.ports=7869, 10000/16 |
When I start debugging with this config initialized, PhpED doesn't recognize any line as executable except first 3-4 lines, so I can't set breakpoints where I want.
Here is the screen:
But it works well when I comment this lines:
zend_extension_manager.optimizer="/usr/local/lib/php/20060613/Optimizer"
zend_extension_manager.optimizer_ts="/usr/local/lib/php/20060613/Optimizer_TS" |
or if I initialize DBG not through Zend Extension Manager.
This issue doesn't occur on the PhpED 5.9 + DBG 3.8.
Checked on PhpEd 8eval - the problem remains.
Any thoughts?