Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Problems with PHP Debug - internal browser and MySQL connection
Problems with PHP Debug - internal browser and MySQL connection [message #60927] Tue, 13 November 2007 11:13
Eclipse UserFriend
Originally posted by: ssousa.liacc.up.pt

Hello everybody!

I'm a "new" user of Eclipse with PDT and Zend Debugger.

Well my doubts are the following :
- I need to use Eclipse to do PHP Debug, and until now (in August, more or
less) I did, but now I need to do again PHP Debug but happens that didn't
work now, like as worked before, and I don't know why because we didn't do
any kind of modification.

For example:
1) now happens, that I can't, when I'm doing debug, the result in the
internal browser of Eclipse, but before I could => now, in "Browser
Output" appears the follow message : "SWT Browser control is not
available." ;

2) now, I can pick up the breakpoints, and when I'm doing the debug , he
stopped in the line when I put the breakpoint, but only If I have one only
file. Because, for example, if I have another pages connected between them
and the breakpoints in the second one, teh Eclipse don't pass from one
page to the other, he just run the page that I put the URL in the
definitions - the file that Eclipse need to begin the debug, usually teh
'index.php' file - that is, Eclipse don't run to the next page => but this
works when I used the "Browser Output", and it was just needed to click,
for example, in one link or one button to go to the next page ;

3) if I have done Debug for "PHP Web Page", the Eclipse opens a page from
the external browser that I use (Firefox), and here I can pass through
page from page, but he don't stop at the breakpoints and I can't control
what is happened with the variables;

4) another thing that happens now is when I'm doing the debug step by step
to one file trough "PHP Script" and if I have one connection to the MySQL
database with the corret host and user, the following error occours :
" Debug Warning: index.php line 31 - mysql_connect() [<a
href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect
to local MySQL server through socket '/tmp/mysql.sock' (2) "


If anybody could help me, I appreciate very much :( . I have being lost
many time trying to understand and fix it, but I need some help, really.

I' working with : Linux (Fedora), version of PHP 5.2.2, version of Eclipse
is 3.3.1, version of PDT is 1.0.0.v20070611 , version of Zend Debugger for
Linux x86 is v5.2.6.v20070507.


Best regards,
Sónia
Previous Topic:Web page debugging not working
Next Topic:Remote Debugging with xdebug - debug session won't start in eclipse
Goto Forum:
  


Current Time: Wed Feb 08 07:37:24 GMT 2023

Powered by FUDForum. Page generated in 0.01361 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top