Tuesday, May 09, 2006

PHP IDE Debug Protocol

Lately there were many questions and comments on blogs and in PHP related forums regarding the debugger protocol, which will be used in the PHP IDE project at Eclipse.org. For those of you who are not familiar with the 'debug protocol' term or do not know what I am talking about here is a short explanation.

Debugging a PHP application or a PHP web server requires connectivity between an IDE and a Debugger engine (a PHP module which is installed on the web server). The debug protocol defines this connection. It determines how to initialize a debug session, which messages to use, etc. The level of debugging support, debugging performance, and the debugging extensibility are all derived from the debug protocol used.

Today there are two leading debug protocols: DBGp, an open source protocol and Zend Studio's protocol. Both protocols have been used in commercial products in the last few years and are good solutions for debugging PHP applications and PHP web servers.

When the Eclipse Foundation approved the PHP IDE project, Zend Studio's debug protocol was opened source and was chosen to be the debug protocol of the PHP IDE project. Zend Studio was known for its debugging capability and it is considered one of its big advantages, therefore, the decision to open source the protocol was obviously a big decision.

Why choose Zend Studio’s protocol?
Choosing is difficult, but choosing between two good alternatives is even more difficult. Both protocols have proved to be good solutions. So why we chose one over the other, there are two main reasons:

1. We chose performance (binary based protocol) over easy server side implementation (textual based protocol).

2. We preferred a solution designed specifically for PHP and is not bounded to support additional scripting languages. DBGp supports several scripting languages and from this derives some of its disadvantages. We believe that a debug protocol should be as 'close' as possible to the PHP language.

There are other differences between the two protocols and I will try to examine some of them:

DBGp has a built-in Proxy mechanism, which allows multiple users debugging applications on the same development server. The Proxy mechanism has few bugs in it and as written in the DBGp documentation, it is not well defined: “We should think a bit more about what a proxy might need to do”.
The PHP IDE debug protocol does not specify requirements for a security system but defines that the Debug server should receive the client IP before initializing the session. By using the IP, implementing a security mechanism is very simple.

PHP Script Output and Errors
DBGp supports PHP execution stdout and stderr as a general solution for all supported languages. PHP IDE as a specific protocol for PHP can distingue between header output and standard output and between all types of PHP errors (warnings, errors and notices).


Blogger Davey Shafik said...


Thank you for setting up this blog to respond to the community over what I believe to be the most critical piece of software most of us have to choose - our editor.

It is nice to see some of the thought processes behind it, so that we can make informed choices.

- Davey

6:18 AM  
Blogger Rob... said...

I can only echo Davey's comments and say that I'm very much looking forward to what you have to say about the upcoming PHPIDE and Zend Studio releases.

9:14 AM  
Blogger Paco Ortiz said...

PHP IDE for Eclipse is a great tool for all PHP'ers. Congratulations to all the teams involved.

Looking forward to see that remote debugger up and running (v1.0 maybe? :-D)

7:51 AM  
Blogger mmrriad said...

Here some cool proxy site

Freevisit Myspace Proxy
Internet Safety in Myspace
My Proxy Server
Free Myspace Proxy Server
Free Myspace Proxies
Unblock Myspace by Proxy
Unblock Myspace by proxies
Myspace CGI Proxy Server
Bebo Proxy Surfing
Bebo Proxy Server
Bebo Anonymous Proxy Server
Bebo Anonymous Surfing Proxy
Massvisit Myspace in School Proxy
Free Internet Proxy
Myspace Proxy - Myspace School Proxy
Myspace Proxy for School
Bebo Proxy for Firewall
Free Myspace Proxies
Free Internet Proxy Server
Free Anonymous Internet Proxy
Myspace Internet Proxy Service
Proxy Server for Internet Security
Myspace Internet Access
No Internet Filter Proxy Server
Proxy Server for Myspace Bebo Facebook Friendster
Proxy Server for Internet Safety
Free Internet Proxy Server
Proxy Server to Bypass Firewall
Myspace Bebo Anonymous Proxy Server
Myspace Bebo Internet Proxy
Myspace Bebo Proxy Service
Internet Proxy Browser
Anonymous Surfing Proxy Server
Myspace Bebo URL Proxy Server
Bebo Myspace Proxy Servers

2:20 AM  
Blogger Josef said...

I saw a free Malaysian proxy at http://www.webreveal.info

Web Proxy

5:38 PM  
Blogger Josef said...

Myspace Proxy
-Myspace Proxies

9:42 PM  
Blogger milf said...

black mold exposureblack mold symptoms of exposurewrought iron garden gatesiron garden gates find them herefine thin hair hairstylessearch hair styles for fine thin hairnight vision binocularsbuy night vision binocularslipitor reactionslipitor allergic reactionsluxury beach resort in the philippines

afordable beach resorts in the philippineshomeopathy for eczema.baby eczema.save big with great mineral makeup bargainsmineral makeup wholesalersprodam iphone Apple prodam iphone prahacect iphone manualmanual for P 168 iphonefero 52 binocularsnight vision Fero 52 binocularsThe best night vision binoculars here

night vision binoculars bargainsfree photo albums computer programsfree software to make photo albumsfree tax formsprintable tax forms for free craftmatic air bedcraftmatic air bed adjustable info hereboyd air bedboyd night air bed lowest pricefind air beds in wisconsinbest air beds in wisconsincloud air beds

best cloud inflatable air bedssealy air beds portableportables air bedsrv luggage racksaluminum made rv luggage racksair bed raisedbest form raised air bedsaircraft support equipmentsbest support equipments for aircraftsbed air informercialsbest informercials bed airmattress sized air beds

bestair bed mattress antique doorknobsantique doorknob identification tipsdvd player troubleshootingtroubleshooting with the dvd playerflat panel television lcd vs plasmaflat panel lcd television versus plasma pic the bestThe causes of economic recessionwhat are the causes of economic recessionadjustable bed air foam The best bed air foam

hoof prints antique equestrian printsantique hoof prints equestrian printsBuy air bedadjustablebuy the best adjustable air bedsair beds canadian storesCanadian stores for air beds

migraine causemigraine treatments floridaflorida headache clinicdrying dessicantair drying dessicantdessicant air dryerpediatric asthmaasthma specialistasthma children specialistcarpet cleaning dallas txcarpet cleaners dallascarpet cleaning dallas

1:50 PM  
Blogger Nicole C said...

buy viagra
viagra online
generic viagra

9:31 AM  
Blogger sam said...

Great task ! Your web page has presented me most of the help and advice I needed .
Garland TX Locksmith
locksmith Plantation FL
Locksmith Concord CA
Locksmith Sunnyvale CA
Locksmith Sunnyvale
Locksmith Sunnyvale
Locksmith Sunnyvale
locksmith irvine ca
locksmith irvine ca
pembroke pines locksmith
locksmith in hialeah
locksmith irvine ca
locksmith irvine ca
pembroke pines locksmith
irvine ca locksmith
mesquite locksmith
Hialeah FL Locksmith
locksmith fort worth
irvine locksmiths
locksmith fort worth
Hialeah FL Locksmith
Hialeah FL Locksmith
locksmith fort worth
irvine locksmiths
irvine locksmiths
locksmith pembroke pines

2:13 AM  
Blogger nikeairmaxshoe said...

Be fast to browse the newest styles and lots of affordable outfits and Nike oxygen Max and women's merchandise is not an daily affair, for that reason that in the stress of modern day time girls ordinarily do not possess a complete great offer time and vitality to go buying by means of countless many style malls, and look at special fees will make you exhausted, so which you can acquire a satisfactory goods, call up for to devote lots of time, the show up of on collection buying significantly minimizing the inconvenience of this, now you not just can every one of the sudden go to to lots of goods Nike Air Max Shoes .

6:25 AM  
Blogger sping.chen said...

Glad to see all the speakers, really wonderful content. Do not know if you like Nike mercurial soccer cleats or Nike soccer cleats and Nike Football Cleats,Nike Mercurial Vapor Superfly with New nike soccer shoes.

5:46 PM  
Blogger peterson said...

This is really nice. Thanks for your information.

PHP training Chennai

2:29 AM  
Blogger Abirami R said...

Its helped me.thank you for the discussion.it can easily understand
Best Android Training in Chennai

6:22 AM  
Blogger Kathiresan Muthu said...

Web Designing Training Institute in Chennai,

Besant Technologies is providing best CSS3 Training in Chennai. CSS stands for Cascading Style Sheets. Our CSS Training tends towards real-time practical international standard design layouts. Every static of dynamic webpages requires CSS to give good design impression.

Web Designing Training in Chennai

11:07 PM  
Blogger hari m said...

Thanks to Share the QTP Material for Freshers,

3:29 AM  
Blogger Mani said...

Good Collection about the Sap Material for Freshers and Experience,


3:30 AM  
Blogger Emi Jackson said...

SAP Institutes in Chennai

Thanks for sharing this valuable information.and I gathered some information from this blog. I did SAP Training Chennai, at FITA Academy which offer best SAP Course Chennai with years of experienced professionals.

SAP Training Institute in Chennai

4:01 AM  
Blogger Emi Jackson said...

SAP Institutes in Chennai

Thanks for sharing this valuable information.and I gathered some information from this blog. I did SAP Training Chennai, at FITA Academy which offer best SAP Course Chennai with years of experienced professionals.

SAP Training Institute in Chennai

4:02 AM  
Blogger Roshini RS said...

I have read all the post in your blog; was really impressed after reading it. If anyone focuses the Best PHP Training in Chennai . Let us know we are ready to serve for your career. FITA is pleased to inform you that; we provides practical training on all the technologies with the MNC exports having more than 5 years of experience in your preferred domain. Get your career with our knowledge.
PHP Training Chennai|PHP Course in Chennai

2:02 AM  
Blogger rebeka christy said...

It was really a wonderful article and I was really impressed by reading this blog. Thanks for sharing this informative blog. If anyone want to get HTML5 Training in Chennai please visit FITA academy located at Chennai, Velachery. Rated as No.1 PHP Training Institute in Chennai which offer best PHP Training in Chennai.

5:58 AM  
Blogger dhanamlakshmi palu said...

Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing. PHP Training in chennai | PHP Training chennai | PHP course in chennai | PHP course chennai

5:04 AM  
Blogger kovalan Jayamurugan said...

Thanks for your information article. CSS allows developers to create attractive website with various animation and styles. Leading CMS like supports CSS. Wordpress Training in Chennai

12:13 AM  
Blogger Melisa said...

This information is impressive; I am inspired with your post writing style & how continuously you describe this topic. After reading your post, thanks for taking the time to discuss this, I feel happy about it and I love learning more about this topic.
PHP Training in Chennai|PHP Course in Chennai

11:36 PM  
Blogger varshini devi said...

Whatever we gathered information from the blogs, we should implement that in practically then only we can understand that exact thing clearly, but it’s no need to do it, because you have explained the concepts very well. It was crystal clear, keep sharing dude.
Web designing course in chennai|Salesforce training in Chennai

3:22 AM  
Blogger kovalan Jayamurugan said...

I went through your blog and it’s totally awesome. Keep on updating your site with such informative post. If possible please include rss feed for your blog. Web designing course in Chennai

2:48 AM  
Blogger Melisa said...

Thanks for sharing this niche useful informative post to our knowledge, Actually SAP is ERP software that can be used in many companies for their day to day business activities it has great scope in future so do your sap training in Chennai
sap course in Chennai|SAP Training in Chennai|SAP institutes in chennai|SAP BI Training In Chennai

2:03 AM  
Blogger jhansi joe said...

Well post, Thanks for sharing this to our vision. In recent day’s customer relationship play vital role to get good platform in business industry, Sales force crm tool helps you to maintain your customer relationship enhancement.
Salesforce training in Chennai|Salesforce training center in Chennai|Salesforce training in velachery

3:50 AM  
Blogger Shashaa Tirupati said...

That is an informative post. Thank you so much.
HTML5 Training in Chennai | HTML5 Training in Chennai

5:27 AM  
Blogger Ramya M said...

It is an amazing post.Very useful to me.I liked it .Take a look to my blog Professional Dot Net Training in Chennai

5:14 AM  
Blogger jhansi joe said...

This technical post helps me to improve my skills set, thanks for this wonder article I expect your upcoming blog, so keep sharing.
cognos tm1 Training in Chennai|Python Training Institutes in Chennai|Node JS training

2:40 AM  
Blogger prethikarajesh said...

Thanks for sharing this information, it helped me a lot in finding valuable resources for my career
Dotnet Training in Chennai

4:13 AM  
Blogger deeksha said...

I came to know about PHP contents and information's thanks for sharing those information's it is really helpful and informative too.

salesforce training in chennai

11:28 PM  
Blogger Priscilla said...

Thank you for taking the time to provide us with your valuable information. We strive to provide our candidates with excellent care.As always, we appreciate your confidence and trust in us..
SAP Training in chennai

5:55 AM  
Blogger Rubika Sathish said...

Thank you for taking the time to provide us with your valuable information. We strive to provide our candidates with excellent care.As always, we appreciate your confidence and trust in us...!!! SAP Training in Chennai

10:47 PM  
Blogger Rubika Sathish said...

This comment has been removed by the author.

10:55 PM  
Blogger Camellia Canan said...

All are saying the same thing repeatedly, but in your blog I had a chance to get some useful and unique information, I love your writing style very much, I would like to suggest your blog in my dude circle, so keep on updates.

SAP training in Chennai

1:27 AM  
Blogger keerthisuresh said...

This information really worth saying, i think you are master of the content and thank you so much sharing that valuable information and get new skills after refer that post.

Weblogic Training in Chennai

3:10 AM  
Blogger Samatajulli said...

In the site was very excellent,i think this is very best one compare to others and then the more information to get after read this post.

3:12 AM  
Blogger arulnath d said...

This blog is having the general information. Got a creative work and this is very different one. We have to develop our creativity mind.
Seo training in Chennai

3:19 AM  
Blogger Devika said...

Thank you for taking the time to provide us with your valuable information. We strive to provide our candidates with excellent care and we take your comments to heart.As always, we appreciate your confidence and trust in us.
SEO Training in Chennai

5:36 AM  
Blogger Dhiya Ram said...

wow really superb you had posted one nice information through this. Definitely it will be useful for many people. So please keep update like this.

SEO Training in Chennai

6:47 AM  

Post a Comment

<< Home