Debug PHAR / StreamWrapped PHP Files

General discussion forum for the Zend Server - The full, commercial edition

Debug PHAR / StreamWrapped PHP Files

Postby tdw-unreality on Wed Apr 04, 2012 5:29 pm

Id seems to be impossible to debug PHARs or StreamWrapped PHP with Zend Server and Zend Studio.
When starting a Debug-Session, the debugger tries to load the file from ZendStudio which will fail.
Is there a way to turn of this "Feature"?

I also tried to configure the affected paths with "Do not map the following server path to a local resource". But this does not work. PHP only raises a fatal error that require() failed while this works fine without debugger.
tdw-unreality
 
Posts: 31
Joined: Sun Jan 30, 2011 7:13 pm

Re: Debug PHAR / StreamWrapped PHP Files

Postby kentatzend on Thu Apr 05, 2012 11:15 pm

I do not think that this is possible at this time.
User avatar
kentatzend
 
Posts: 1781
Joined: Thu Dec 11, 2008 1:08 pm

Re: Debug PHAR / StreamWrapped PHP Files

Postby tdw-unreality on Tue May 15, 2012 1:56 pm

kentatzend wrote:I do not think that this is possible at this time.


Thanks for the response. Are there any plans for making this possible?
Phar is quite useful for some purposes.
tdw-unreality
 
Posts: 31
Joined: Sun Jan 30, 2011 7:13 pm

Re: Debug PHAR / StreamWrapped PHP Files

Postby kentatzend on Tue May 15, 2012 5:07 pm

I have not tried it but does our "code tracing" capabilities in Zend Server help?
User avatar
kentatzend
 
Posts: 1781
Joined: Thu Dec 11, 2008 1:08 pm

Re: Debug PHAR / StreamWrapped PHP Files

Postby tdw-unreality on Tue Jul 31, 2012 11:06 am

kentatzend wrote:I have not tried it but does our "code tracing" capabilities in Zend Server help?


Thanks for the answer. No codetracing does not help for debugging. It might give a hint but it's nothing compared with a real debugger allowing to inspect variable values etc.
In my case I need to know the values of some variables when a specific method is called and CodeTracing doesn't help me with that.

I'll give XDebug a try, maybe it'll work with this one.
tdw-unreality
 
Posts: 31
Joined: Sun Jan 30, 2011 7:13 pm

Re: Debug PHAR / StreamWrapped PHP Files

Postby tdw-unreality on Tue Jul 31, 2012 12:09 pm

Nope xDebug isn't working either.
tdw-unreality
 
Posts: 31
Joined: Sun Jan 30, 2011 7:13 pm


Return to Zend Server

Who is online

Users browsing this forum: No registered users and 2 guests