FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

xDebug and Zend Framework

 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
András Csányi
Posted via mailing list.





PostPosted: Thu Apr 09, 2009 8:29 pm    Post subject: xDebug and Zend Framework Reply with quote

Hi All!

I would ask the community anybody can use xdebug in NetBeans at
project based on Zend Framework? Anybody has an link or tutorial
because I have been trying for hours and nothing result, only this:
Does anybody what did I wrong? Does anybody an workaround for this?

My project getting bigger and lot of var_dump() is not so effective...

Appreciate your help!

java.net.URISyntaxException: Illegal character in hostname at index
13: http://saycms_on_php/index.php?XDEBUG_SESSION_START=netbeans-xdebug
at java.net.URI$Parser.fail(URI.java:2809)
at java.net.URI$Parser.parseHostname(URI.java:3348)
at java.net.URI$Parser.parseServer(URI.java:3197)
at java.net.URI$Parser.parseAuthority(URI.java:3116)
at java.net.URI$Parser.parseHierarchical(URI.java:3058)
at java.net.URI$Parser.parse(URI.java:3014)
at java.net.URI.<init>(URI.java:663)
at org.netbeans.modules.php.project.ui.actions.Command.appendQuery(Command.java:203)

András

--
- -
-- Csanyi Andras -- http://sayusi.hu -- Sayusi Ando
-- "Bízzál Istenben és tartsd szárazon a puskaport!".-- Cromwell
Back to top
Tomas Mysik
Posted via mailing list.





PostPosted: Fri Apr 10, 2009 7:58 am    Post subject: xDebug and Zend Framework Reply with quote

Hi,

On čtvrtek 09 dubna 2009 22:28:54 András Csányi wrote:
Quote:
I would ask the community anybody can use xdebug in NetBeans at
project based on Zend Framework? Anybody has an link or tutorial
because I have been trying for hours and nothing result, only this:
Does anybody what did I wrong? Does anybody an workaround for this?

we tried it some time ago and it works. Just put a breakpoint in an action in
a controller, debug your project and navigate to the controller and its
action. Or if you are using a PHP dev build, you can type the URL directly
(http://blogs.sun.com/netbeansphp/entry/path_mapping_in_php_debugger).

Quote:
java.net.URISyntaxException: Illegal character in hostname at index
13: http://saycms_on_php/index.php?XDEBUG_SESSION_START=netbeans-xdebug
at java.net.URI$Parser.fail(URI.java:2809)
at java.net.URI$Parser.parseHostname(URI.java:3348)
at java.net.URI$Parser.parseServer(URI.java:3197)
at java.net.URI$Parser.parseAuthority(URI.java:3116)
at java.net.URI$Parser.parseHierarchical(URI.java:3058)
at java.net.URI$Parser.parse(URI.java:3014)
at java.net.URI.<init>(URI.java:663)
at
org.netbeans.modules.php.project.ui.actions.Command.appendQuery(Command.jav
a:203)

As the exception says - character "_" is not allowed in hostname (change your
hostname to e.g. "saycms-on-php").

HTH,
Tomas
--
Tomas Mysik
address-removed
Back to top
András Csányi
Posted via mailing list.





PostPosted: Fri Apr 10, 2009 8:11 am    Post subject: xDebug and Zend Framework Reply with quote

2009/4/10 Tomas Mysik <address-removed>:

Hi Tomas!

Thanks your help! I will try it!

András


--
- -
-- Csanyi Andras -- http://sayusi.hu -- Sayusi Ando
-- "Bízzál Istenben és tartsd szárazon a puskaport!".-- Cromwell
Back to top
András Csányi
Posted via mailing list.





PostPosted: Fri Apr 10, 2009 8:28 am    Post subject: xDebug and Zend Framework Reply with quote

2009/4/10 Tomas Mysik <address-removed>:

Tomas, I have an question.

I'm developing few new views extensions (ajax things and widgets for
example input field with javascript check, etc.) and I want to debug
some php things in views files, not in controllers. What do you think
can be this the problem?
Now I haven't got time to try more options, but afternoon I will.

I can see I should try the developer build...

Thanks the help!

András

Quote:
we tried it some time ago and it works. Just put a breakpoint in an action in
a controller, debug your project and navigate to the controller and its
action. Or if you are using a PHP dev build, you can type the URL directly
(http://blogs.sun.com/netbeansphp/entry/path_mapping_in_php_debugger).

--
- -
-- Csanyi Andras -- http://sayusi.hu -- Sayusi Ando
-- "Bízzál Istenben és tartsd szárazon a puskaport!".-- Cromwell
Back to top
Tomas Mysik
Posted via mailing list.





PostPosted: Fri Apr 10, 2009 9:02 am    Post subject: xDebug and Zend Framework Reply with quote

Hi,

On pátek 10 dubna 2009 10:28:39 András Csányi wrote:
Quote:
I'm developing few new views extensions (ajax things and widgets for
example input field with javascript check, etc.) and I want to debug
some php things in views files, not in controllers. What do you think
can be this the problem?

well, I know Zend framework just a bit but - views are just ordinary PHP files,
right? If so, than it should work. However, if it does not work (that
possible, of course) then feel free to file an issue [1] with your NB version
(Help > About) and exact steps to reproduce (ideally, if you could attach some
example project we can play with).

Thanks,
Tomas
[1] http://www.netbeans.org/community/issues
--
Tomas Mysik
address-removed
Back to top
András Csányi
Posted via mailing list.





PostPosted: Fri Apr 10, 2009 9:07 am    Post subject: xDebug and Zend Framework Reply with quote

2009/4/10 Tomas Mysik <address-removed>:
Quote:
Hi,

On pátek 10 dubna 2009 10:28:39 András Csányi wrote:
Quote:
I'm developing few new views extensions (ajax things and widgets for
example input field with javascript check, etc.) and I want to debug
some php things in views files, not in controllers. What do you think
can be this the problem?

well, I know Zend framework just a bit but - views are just ordinary PHP files,
right? If so, than it should work. However, if it does not work (that
possible, of course) then feel free to file an issue [1] with your NB version
(Help > About) and exact steps to reproduce (ideally, if you could attach some
example project we can play with).

Thanks,
Tomas
[1] http://www.netbeans.org/community/issues

Ok! I'm going to do some cases and if I'm find something wrong and
reproduceable case I will report it.

András

--
- -
-- Csanyi Andras -- http://sayusi.hu -- Sayusi Ando
-- "Bízzál Istenben és tartsd szárazon a puskaport!".-- Cromwell
Back to top
András Csányi
Posted via mailing list.





PostPosted: Fri Apr 10, 2009 7:30 pm    Post subject: xDebug and Zend Framework Reply with quote

2009/4/10 András Csányi <address-removed>:
Quote:
Quote:
Thanks,
Tomas
[1] http://www.netbeans.org/community/issues

Ok! I'm going to do some cases and if I'm find something wrong and
reproduceable case I will report it.

Well, i was silly... Smile
I'm using gentoo linux and under /etc/php directory there is
apache-cli/directory with php.ini and ext/ and ext-active/ directorys.
Under the ext-active directory is an xdebug.ini file what is have
different config data than php.ini file. :$

So, after I deleted the xdebug config information in php.ini and I
setup correctly in xdebug.ini everything is started working fine. So,
there is no bug. Only an lame user... :)

Thanks for your patiente!

András

--
- -
-- Csanyi Andras -- http://sayusi.hu -- Sayusi Ando
-- "Bízzál Istenben és tartsd szárazon a puskaport!".-- Cromwell
Back to top
Tomas Mysik
Posted via mailing list.





PostPosted: Tue Apr 14, 2009 7:55 am    Post subject: xDebug and Zend Framework Reply with quote

Hi,

On pátek 10 dubna 2009 21:30:51 András Csányi wrote:
Quote:
So, after I deleted the xdebug config information in php.ini and I
setup correctly in xdebug.ini everything is started working fine. So,
there is no bug. Only an lame user... Smile

glad to hear that it works for you now!

Quote:
Thanks for your patien[c]e!

You're welcome.

Tomas
--
Tomas Mysik
address-removed
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> PHP Users All times are GMT
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
You can attach files in this forum
You can download files in this forum


Powered by phpBB