gnope php gtk gui gnope.org  

Debugging?

 
Post new topic   Reply to topic    gnope.org Forum Index -> PHP GTK2 Beginners
View previous topic :: View next topic  
Author Message
Chorry



Joined: 11 Jan 2006
Posts: 1
Location: Russia

PostPosted: Wed Jan 11, 2006 5:27 pm    Post subject: Debugging? Reply with quote

Is there any kind of debugging tool for new developers?
I mean, it's really hard sometimes to catch a bug in a fresh written php-gtk2 app without any error report (or at least i haven't found any yet). So far i still have to guess whether i forgot to put a comma or to declare a class. Quite annoying thing, have to say :/
Back to top
cweiske



Joined: 08 Dec 2005
Posts: 454
Location: Leipzig/Germany

PostPosted: Wed Jan 11, 2006 7:33 pm    Post subject: Re: Debugging? Reply with quote

Chorry wrote:
Is there any kind of debugging tool for new developers?

You have to look for php debuggers in general; there is none specifically for php-gtk. And I haven't used any until now. Zend Studio has an integrated one; but I don't know if they already shiip php 5.1.1 that is required by php-gtk2.
Back to top
ron_t



Joined: 11 Dec 2005
Posts: 78
Location: Gatineau, Quebec

PostPosted: Thu Jan 12, 2006 2:13 am    Post subject: Re: Debugging? Reply with quote

Chorry wrote:
Is there any kind of debugging tool for new developers?
I mean, it's really hard sometimes to catch a bug in a fresh written php-gtk2 app without any error report (or at least i haven't found any yet). So far i still have to guess whether i forgot to put a comma or to declare a class. Quite annoying thing, have to say :/


Try running your scripts with the command-line version of PHP (php.exe rather than php-win.exe). You'll get errors and warnings in the command window.

Also, if you use the Crimson Editor (www.crimsoneditor.com) you can place commands in the Tools menu to pass your scripts to whichever php interpreter you wish. Makes life a little easier.

Oh, and Crimson is free.

-Ron T.
Back to top
Osiris



Joined: 17 Dec 2005
Posts: 65

PostPosted: Fri Jan 13, 2006 5:40 pm    Post subject: Reply with quote

Hello,

maybe you will try xdebug.
Ok, is beta at this time for php 5.1.1+, but it may be a good debugger.

I've used xdebug for webapplications and I think, is also usable for php-gtk2 (not tested until now, maybe next week I integrate this debugger into my app, to find errors Smile )

Greetings

Christian
Back to top
ron_t



Joined: 11 Dec 2005
Posts: 78
Location: Gatineau, Quebec

PostPosted: Fri Jan 13, 2006 6:48 pm    Post subject: Reply with quote

Osiris wrote:
Hello,

maybe you will try xdebug.
Ok, is beta at this time for php 5.1.1+, but it may be a good debugger.

I've used xdebug for webapplications and I think, is also usable for php-gtk2 (not tested until now, maybe next week I integrate this debugger into my app, to find errors Smile )


Thanks for the suggestion, Christian. I'll look into it.

-Ron T.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    gnope.org Forum Index -> PHP GTK2 Beginners All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group
Templates enhanced by DigiWiki. Hosting by Tradebit.