Skip to main content



      Home
Home » Language IDEs » PHP Development Tools (PDT) » Debugging a script with many files using the last version of Eclipse(Debugging a script with many files using the last version of Eclipse)
icon9.gif  Debugging a script with many files using the last version of Eclipse [message #1442763] Sat, 11 October 2014 12:39 Go to next message
Eclipse UserFriend
Hi,

I am studing PHP and English togheter. I am sorry for my writing and reading. I hope to understand your helps. I use NetBeand from many week and recently I wrote on NetBeand forum to understand like debugging php file. A person sent to me many pages to read and I worked many days to understand like to see NetBeand working but without success. Last year I used Eclipse to study Java so now I would like to do a try with your software if you can help me too. With NetBeans I tried XDebug but my edits to php.ini was not good and that person could not help me more. In this time I have:

Windows 8.1
XAMPP (Installed today, last version)
Eclipse (Installed today, last version)


Could you help me to understand like I can to do that with Eclipse? Is it possible or is it very hard or impossible like on NetBeans?
Thanks

I hope to pass to Ecplise very soon!

Gianni
Re: Debugging a script with many files using the last version of Eclipse [message #1442836 is a reply to message #1442763] Sat, 11 October 2014 15:20 Go to previous messageGo to next message
Eclipse UserFriend
You can start from this: https://wiki.eclipse.org/Debugging_using_XDebug
Re: Debugging a script with many files using the last version of Eclipse [message #1446890 is a reply to message #1442836] Fri, 17 October 2014 09:12 Go to previous messageGo to next message
Eclipse UserFriend
Dawid Pakula wrote on Sat, 11 October 2014 19:20
You can start from this: https://wiki.eclipse.org/Debugging_using_XDebug


Thank you very much. I tried to do like I read in the brochure but I can not render the page.
  • Attachment: eclipse.png
    (Size: 143.34KB, Downloaded 184 times)
Re: Debugging a script with many files using the last version of Eclipse [message #1446899 is a reply to message #1446890] Fri, 17 October 2014 09:29 Go to previous messageGo to next message
Eclipse UserFriend
Are you sure that you configured eclipse correctly?

1. Copy url from internal browser (BTW: you can switch to external browser if you want), remove everything after "?" and try in any external browser. It work? Maybe you configured xamp on non standard (80) port, or you have your app in another subdir?

2. As I see in url you configured Zend Debugger, no XDebug
Re: Debugging a script with many files using the last version of Eclipse [message #1446921 is a reply to message #1446899] Fri, 17 October 2014 10:10 Go to previous messageGo to next message
Eclipse UserFriend
Dawid Pakula wrote on Fri, 17 October 2014 13:29
Are you sure that you configured eclipse correctly?

1. Copy url from internal browser (BTW: you can switch to external browser if you want), remove everything after "?" and try in any external browser. It work? Maybe you configured xamp on non standard (80) port, or you have your app in another subdir?

2. As I see in url you configured Zend Debugger, no XDebug


I read your documentation! I tried to create a directory into:
C:\xampp\htdocs\
but Eclipse has stopped me so I created a directory into C:.

1.If I write file:///C:/LocalWebRootEclipse/Esempio01/listing12.08.php into Mozilla the file doesn't work because I am not in localhost.

2.No I don't I setted XDebug I am sure.

Watch my pictures please.
  • Attachment: 01.png
    (Size: 12.22KB, Downloaded 205 times)
  • Attachment: 02.png
    (Size: 21.70KB, Downloaded 185 times)
  • Attachment: 03.png
    (Size: 184.02KB, Downloaded 206 times)
  • Attachment: 04.png
    (Size: 213.26KB, Downloaded 191 times)
  • Attachment: 05.png
    (Size: 135.19KB, Downloaded 169 times)
Re: Debugging a script with many files using the last version of Eclipse [message #1446924 is a reply to message #1446921] Fri, 17 October 2014 10:11 Go to previous messageGo to next message
Eclipse UserFriend
No Message Body
  • Attachment: 06.png
    (Size: 176.49KB, Downloaded 206 times)
  • Attachment: 07.png
    (Size: 184.62KB, Downloaded 201 times)
Re: Debugging a script with many files using the last version of Eclipse [message #1446981 is a reply to message #1446924] Fri, 17 October 2014 11:55 Go to previous messageGo to next message
Eclipse UserFriend
Thank you very much! Smile

I tried to delete all directories and files of Eclipse e I read your brochure again. I seen finally XDebug to work but I don't like it for two reasons:

1) When I click on the green arrow the indicator doesn't move;
2) Internal web browser doesn't update itself during the running.

Gianni
Re: Debugging a script with many files using the last version of Eclipse [message #1446992 is a reply to message #1446981] Fri, 17 October 2014 12:20 Go to previous messageGo to next message
Eclipse UserFriend
I would like to use XDebug to understand like php passes from a row to an other without use breakpoints. I used "Step Into" and "Step Over" but the blue arrow indicator is immobile.
I don't understand the difference from F5 and F6, I tried them on the following script and they do the same thing.
<?php
for($mul = 1; $mul <= 10; ++ $mul) {
	$ris = 5 * $mul;
	echo "5 * $mul = $ris <br/>";
}
Re: Debugging a script with many files using the last version of Eclipse [message #1447010 is a reply to message #1446992] Fri, 17 October 2014 12:51 Go to previous messageGo to next message
Eclipse UserFriend
Ok I understand the difference from F5 and F6 but I am very sad because I must read and I cannot see a mobile arrow.

Very good the function of XDebut that informs me about performance and use of memory! Wawww! I am enjoying! Smile
Re: Debugging a script with many files using the last version of Eclipse [message #1447031 is a reply to message #1447010] Fri, 17 October 2014 13:30 Go to previous message
Eclipse UserFriend
f5 - f6 , see this thread: https://www.eclipse.org/forums/index.php/t/823451/
Previous Topic:PHP Formatter - Array Ending Bracket Indentation
Next Topic:Auto-formatter doesn't break up HTML tags properly
Goto Forum:
  


Current Time: Tue Mar 11 07:20:17 EDT 2025

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

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

Back to the top