NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Does debug continue after a form POST?

 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
BiggerLebowski



Joined: 06 Feb 2012
Posts: 1

PostPosted: Tue Feb 07, 2012 10:32 am    Post subject: Does debug continue after a form POST? Reply with quote

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

PostPosted: Tue Feb 07, 2012 4:31 pm    Post subject: YES Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> PHP Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo