Trying to debug a symfony app showing the list of all the functions called, debug_backtrace() doesn'

Posted by user248959 on Stack Overflow See other posts from Stack Overflow or by user248959
Published on 2010-04-01T20:08:11Z Indexed on 2010/04/01 20:13 UTC
Read the original article Hit count: 435

Filed under:
|
|
|

Hi,

im trying to debug a symfony app.

I've added a debug_backtrace() calling to this function below. It outputs a list of functions called, but the save() function (that is just before the debug_backtrace() calling) is not that list.. why? any other way to debug that shows more things, in this case the save() calling ?

protected function processForm(sfWebRequest $request, sfForm $form)
  {
    $form->bind($request->getParameter($form->getName()));

    if ($form->isValid())
    {

      $sf_guard_user = $form->save();

      var_dump(debug_backtrace());
     die("fsdgsgsdf");

      $this->redirect('guardausuario/edit?id='.$sf_guard_user-
>getId());

    }
  } 

Regards

Javi

© Stack Overflow or respective owner

Related posts about php

Related posts about symfony