Zend Debugger problem

General discussion forum for the Zend Server

Zend Debugger problem

Postby rob4105 on Wed Dec 14, 2016 3:27 pm

Hi there,

I'm using Zend Server 9.0.1 (Build: 108824) on MS WIndows 10 Pro with Zend Studio 13.5.1 and I have problem with Zend Debugger.
When I'm debugging, I constantly get this error:
Code: Select all
get_called_class() called from outside a class

Where my trace is like:

Code: Select all
#1  get_called_class() called at [variable expression(1) : eval()'d code:1]
#2  eval() called at [variable expression:1]
#3  unknown() called at [D:\Work\hdextranet\init.php:12]

....

I have no idea what is "unknown()" in my code, definitely there is no such thing. Of course this error causing the debugging process to stop, so basically I can't debug through my IDE.

Have tried several times to go straight to breakpoint or just to specifica line in the code, and sometimes succeeds, sometimes not.

Any ideas?

Thank you,
M.
rob4105
 
Posts: 2
Joined: Wed Dec 14, 2016 3:09 pm

Re: Zend Debugger problem

Postby rob4105 on Thu Dec 15, 2016 11:52 am

Basically every time when I start debugging (using Zend Debugger), after the first line I can see that $php_errormsg appears in "Variables" view with the string value - "get_called_class() called from outside a class".
I found the same behaviour described in"Bug 498079 - [Zend Debugger] Variable with error message is shown while debugging if 'track_errors' option is enabled" (at bugs.eclipse@org) and tried to disable track_errors but the problem persists...
rob4105
 
Posts: 2
Joined: Wed Dec 14, 2016 3:09 pm

Re: Zend Debugger problem

Postby zvika on Sun Jan 22, 2017 11:10 am

Hello M,
Please open a support ticket on support.zend.com, and attach a code sample + link to this topic if you want to cross-reference.
We will reproduce and check with existing / resolved issues.
Thanks and have a great week!
Zvika Dror
Zend Support Team
User avatar
zvika
Zend Global Support
 
Posts: 969
Joined: Sun Dec 14, 2008 9:48 am


Return to Zend Server

Who is online

Users browsing this forum: No registered users and 2 guests