NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
DBG and Zend Optimizer issue.


Joined: 11 Oct 2012
Posts: 2
Reply with quote
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

Code:
[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:
Code:
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?
View user's profileFind all posts by somers22Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
try to load dbg AFTER zendoptimizer

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 11 Oct 2012
Posts: 2
Reply with quote
dmitri wrote:
try to load dbg AFTER zendoptimizer

No effect.
View user's profileFind all posts by somers22Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
then I have ~ nothing to help you without seeing all the details. Try to contact support first and provide sources, platform details and phpinfo output.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
DBG and Zend Optimizer issue.
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic