No debugging

General discussion on Zend Studio
Post Reply
Posts: 6
Joined: Sun Sep 19, 2010 9:18 am

No debugging

Post by edwinvandessel » Tue Dec 25, 2012 11:45 am


I have the following pretty standard structure: a controller with a login-action with the regular login.phtml-file as view. In the action I evaluate with an if ($request->isPost ()) whether I am dealing with a post.
If the view is loaded initially the debugger stops as expected at the breakpoint I have sit at the line with this if-statement. So far, so good.

In the view I have this simple login-form:

<form name="loginForm" method="post"
<td><?php echo $this->loginNameLabel; ?></td>
<td><input name="redirect" type="hidden"
value="<?php echo $this->redirect; ?>">
<input name="loginName"
type="text" size="25"></td>
<td><?php echo $this->passwordLabel; ?></td>
<td><input name="password" type="password" size="25"></td>
<td align="right" colspan="2"><input id="loginButton" name="loginButton" type="submit"
value="<?php echo $this->submitLabel; ?>"></td>

If I fill something out in the form and click the submit-button suddenly the debugger does not stop at that same breakpoint. This while the action is called and all code executed (if I fill out a correct loginname and password I do log in) but debugging is impossible this way.

Does anyone see what is wrong?



Post Reply