NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Problem with "remote debugger" + "Zend Guard'


Joined: 28 Mar 2007
Posts: 53
Reply with quote
Hello,

I am not sure if this is error or just “PhpED” does not support it.

I am trying to use remote debugging with PHP scripts which are encoded using “Zend Guard 4.0.1”. During test I find out that the remote debugging could successfully be used with the same but not encoded files.

Could you please give me any suggestion how can I solve this problem?

With best regards

Vitali

p.s. As I mentioned above I am using “Zend Guard” to encode PHP scripts. I am interesting is there any way to make “PhpED” use “Zend Guard” (command line or its DLL for example) to encode files before uploading them to server (PhpED’s file sync. mechanism)?
View user's profileFind all posts by DelphiSend private messageICQ Number
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Scripts encoded with any php encoders are not supposed to be available for debugging.
I can't speak for all encoders, but scripts encoded with most, could not be debugged.

We provided a special command line options for NuCoder to let developers who use NuCoder to debug encoded scripts for their development needs. Consider it as an extra flexibility. Final scripts should be encoded with debugging info turned off and they won't be available for debugging.

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


Joined: 28 Mar 2007
Posts: 53
Reply with quote
dmitri wrote:
Scripts encoded with any php encoders are not supposed to be available for debugging.
I can't speak for all encoders, but scripts encoded with most, could not be debugged.

We provided a special command line options for NuCoder to let developers who use NuCoder to debug encoded scripts for their development needs. Consider it as an extra flexibility. Final scripts should be encoded with debugging info turned off and they won't be available for debugging.


Thank you, now I see how it works (to be honest it is very pity Sad that I can debug encoded files)
View user's profileFind all posts by DelphiSend private messageICQ Number
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
to be honest it is very pity that I can debug encoded files

I thought the problem is that you can't debug them Smile

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


Joined: 28 Mar 2007
Posts: 53
Reply with quote
dmitri wrote:
Quote:
to be honest it is very pity that I can debug encoded files

I thought the problem is that you can't debug them Smile

That’s right Wink I get so tired with installing remote debugging (I have hardly managed to make my internet provider enable port mapping for my PC as an exception, to make it accessible from my server and everything was in vain) that forgot to say "cannot" instead of “can” Wink
View user's profileFind all posts by DelphiSend private messageICQ Number
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Why not to use SSH tunnel? in this case you don't need any extra mappings for the NAT router. You only need an ssh account. If you use sftp, you definitely alredy have one.

reagarding encoded files, they are supposed to be NON DEBUGGABLE. So if you have no sources, forget about debugging it.

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


Joined: 28 Mar 2007
Posts: 53
Reply with quote
dmitri wrote:
Why not to use SSH tunnel? in this case you don't need any extra mappings for the NAT router. You only need an ssh account. If you use sftp, you definitely alredy have one.

Because I can not create tunnel using PuTTY. Anyway by the end I have managed to create port mapping and the server side application establishes connection to my PC successfully.

dmitri wrote:
reagarding encoded files, they are supposed to be NON DEBUGGABLE. So if you have no sources, forget about debugging it.

Of cause I have the source files (it is my own engine) but only on the local PC. On the server I have encoded ones, to prevent stilling the used algorithms (I am writing engine during last year Wink and I am still improving it).
View user's profileFind all posts by DelphiSend private messageICQ Number
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
Of cause I have the source files (it is my own engine) but only on the local PC. On the server I have encoded ones, to prevent stilling the used algorithms (I am writing engine during last year and I am still improving it).

I have very little to add or comment. If you encode files using ZG, regardless you have sources or not, you can't debug encoded files. You can debug sources and only sources. If you encode files using NuCoder, everything is almost the same, except when you (intentionally) enable debug info in the encoded files. In this case you'll be able to debug them (remotely). Sources will be needed for the sake of IDE/editor.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Problem with "remote debugger" + "Zend Guard'
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