使用jquery post发布表单时,ZendDebugger失去了跟踪。
例如,我有一个文件index.php wich submit button post to“formcontent.php”。类似:
//index.php
$("#formMiData").submit(function(){
$.post("formContent.php", $("#formMiData").serialize(),
function(data){
$("#salidaAjax").html(data);
});
return false;
});
我在index.php和formcontent.php的开头添加了一个断点。
调试器在index.php的断点处停止,但在formcontent.php的断点处不停止。
是这样吗?o调试器应该找到“formcontent.php”?
我花了很多时间试图使调试程序工作,但在这种情况下可能不应该工作…