NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
BiggerLebowski
Joined: 06 Feb 2012 Posts: 1
|
Posted: Tue Feb 07, 2012 10:32 am Post subject: Does debug continue after a form POST? |
|
|
Hi there,
Can Zend do this? I want to step through this code line by line. Then when someone presses the "send" button I want the debugger to continue and allow me to step into the "echo called" line.
My Zend doesn't allow me to do this, just wondering if NetBeans does.
<?php
echo phpinfo();
if ($_POST[submit] == "Submit") {
echo "called";
};
$o .= "<form method='post' action='index.php?called=true'>";
$o .= "<input class='submit' type='submit' name='submit' value='Submit'>";
$o .= "</form>\n";
echo $o;
?>
Best
Dude |
|
| Back to top |
|
 |
monk.e.boy
Joined: 15 Apr 2011 Posts: 10
|
Posted: Tue Feb 07, 2012 4:31 pm Post subject: YES |
|
|
Yes, I'm not sure what your set up is, but if you use Chrome with Xdebug helper click the little green bug, make sure netbeans is listening and it will debug fine.
As well as POST it will debug AJAX requests etc... |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|