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
[Updated on: Thu, 12 July 2012 04:36] by Moderator