Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Debugging a PHP page with concurrent requests
Debugging a PHP page with concurrent requests [message #895232] Thu, 12 July 2012 04:26 Go to next message
Mehran Ziadloo is currently offline Mehran Ziadloo
Messages: 2
Registered: July 2012
Junior Member
Hi

I'm trying to debug a Ajax PHP project and I'm having difficulties. To illustrate my problem I simplified it into a sample file. Consider an HTML file as follow:

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<script src="link-to-jquery/jquery-1.7.2.min.js"></script>
<script>
$(document).ready(function() {
	var list = $("ol");
	for (var i=0; i<20; i++) {
		list.append($('<li><img src="/img.php?'+i+'" width="36" height="24" /></li>'));
	}
});
</script>
</head>

<body>
<ol>
</ol>
</body>

</html>


This page shows a list of small images retrieved from a PHP file. JQuery is used just to make sure that browser will not cache them. In the attached image's left side you can see this page's output opened in a browser. And in the right the same page is opened in debug mode using PDT and Zend Debugger. The problem is that, since the first image's request keep Eclipse busy, other images' requests are not made to the server.

Is there anyway to avoid this problem? Perhaps using some sort of configuration!

Regards,
Mehran

index.php/fa/10679/0/
  • Attachment: PDTBug.jpg
    (Size: 32.89KB, Downloaded 272 times)

[Updated on: Thu, 12 July 2012 04:36]

Report message to a moderator

Re: Debugging a PHP page with concurrent requests [message #895662 is a reply to message #895232] Sat, 14 July 2012 07:33 Go to previous message
Mehran Ziadloo is currently offline Mehran Ziadloo
Messages: 2
Registered: July 2012
Junior Member
Just for the record, XDebug works perfectly fine. So I switched to that.
Previous Topic:External Tools
Next Topic:Help please - PDT Setup questions
Goto Forum:
  


Current Time: Wed Jul 23 22:37:16 EDT 2014

Powered by FUDForum. Page generated in 0.01544 seconds