[symfony-users] Re: Is there any way to see all the functions that have been executed?

2010-04-01 Thread Javier Garcia
Thanks, but for example, here below i'm using debug_backtrace(). It
outputss a list of functions called, but the save() function (that is
just before the debug_backtrace() calling) is not that list..

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());
}
  }

Javi


On Feb 12, 11:16 am, Alvaro Videla harryjek...@gmail.com wrote:
 try:

 http://cn.php.net/debug_backtrace

 Xdebug is not required for that function

 On Feb 12, 2010, at 5:11 PM, Javier Garcia wrote:





  On 02/11/2010 10:02 PM, Stéphane wrote:
  So you must have xdebug installed to have a usable stack trace.

  I installed xdebug. I tried to follow the way the app is executed using 
  Step into/over/out in NB, but i find _very difficult and tedious_ to follow 
  all the way since send the request till it finishes. It would be easier if 
  i know ALL the functions and lines (with the file which belongs to) that 
  are executed during that process.

  Javi

  --
  You received this message because you are subscribed to the Google Groups 
  symfony users group.
  To post to this group, send email to symfony-us...@googlegroups.com.
  To unsubscribe from this group, send email to 
  symfony-users+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://groups.google.com/group/symfony-users?hl=en.

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe, reply using remove me as the subject.


Re: [symfony-users] Re: Is there any way to see all the functions that have been executed?

2010-02-12 Thread Javier Garcia

On 02/11/2010 10:02 PM, Stéphane wrote:

So you must have xdebug installed to have a usable stack trace.



I installed xdebug. I tried to follow the way the app is executed 
using Step into/over/out in NB, but i find _very difficult and tedious_ 
to follow all the way since send the request till it finishes. It would 
be easier if i know ALL the functions and lines (with the file which 
belongs to) that are executed during that process.


Javi


--
You received this message because you are subscribed to the Google Groups symfony 
users group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] Re: Is there any way to see all the functions that have been executed?

2010-02-12 Thread Alvaro Videla
try:

http://cn.php.net/debug_backtrace

Xdebug is not required for that function



On Feb 12, 2010, at 5:11 PM, Javier Garcia wrote:

 On 02/11/2010 10:02 PM, Stéphane wrote:
 So you must have xdebug installed to have a usable stack trace.
 
 
 I installed xdebug. I tried to follow the way the app is executed using 
 Step into/over/out in NB, but i find _very difficult and tedious_ to follow 
 all the way since send the request till it finishes. It would be easier if i 
 know ALL the functions and lines (with the file which belongs to) that are 
 executed during that process.
 
 Javi
 
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 symfony users group.
 To post to this group, send email to symfony-us...@googlegroups.com.
 To unsubscribe from this group, send email to 
 symfony-users+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/symfony-users?hl=en.
 

-- 
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



[symfony-users] Re: Is there any way to see all the functions that have been executed?

2010-02-11 Thread Evgeny
You should try tracing with Xdebug (for example)

On Feb 11, 9:03 pm, Javier Garcia tirengar...@gmail.com wrote:
 Hi,

 Im having an error and as always something like this is showed below the
 error message:

     *
               50.      }
               51.    }
               52.

     * at *sfFilterChain-execute*()
       in /SF_ROOT_DIR/lib/symfony/filter/sfRenderingFilter.class.php/
       line 33 ...
       http://rs.localhost/frontend_dev.php/birthday/filtrar/action#
               30. public function execute($filterChain)
               31.    {
               32. // execute next filter
               33. $filterChain-execute();
               34.

               35. // get response object
               36. $response = $this-context-getResponse();
     * at *sfRenderingFilter-execute*(/object/('sfFilterChain'))
       in /SF_ROOT_DIR/lib/symfony/filter/sfFilterChain.class.php/ line
       53 ... http://rs.localhost/frontend_dev.php/birthday/filtrar/action#
               50.        }
               51.

 Anyway these lines doesnt show all the functions that have been executed
 (the debugger told me...).

 So, is there any way to see all the functions that have been executed?

 Regards

 Javi

-- 
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] Re: Is there any way to see all the functions that have been executed?

2010-02-11 Thread Stéphane
Symfony does make use of xdebug capabilities to trace method/func calls.

So you must have xdebug installed to have a usable stack trace.

pecl install xdebug on a *nix machine, manual install on a wamp (its
fairly easy to set up).

Cheers,


Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!


On Thu, Feb 11, 2010 at 8:30 PM, Evgeny psylo...@gmail.com wrote:

 You should try tracing with Xdebug (for example)

 On Feb 11, 9:03 pm, Javier Garcia tirengar...@gmail.com wrote:
  Hi,
 
  Im having an error and as always something like this is showed below the
  error message:
 
  *
50.  }
51.}
52.
 
  * at *sfFilterChain-execute*()
in /SF_ROOT_DIR/lib/symfony/filter/sfRenderingFilter.class.php/
line 33 ...
http://rs.localhost/frontend_dev.php/birthday/filtrar/action#
30. public function execute($filterChain)
31.{
32. // execute next filter
33. $filterChain-execute();
34.
 
35. // get response object
36. $response = $this-context-getResponse();
  * at *sfRenderingFilter-execute*(/object/('sfFilterChain'))
in /SF_ROOT_DIR/lib/symfony/filter/sfFilterChain.class.php/ line
53 ... http://rs.localhost
 /frontend_dev.php/birthday/filtrar/action#
50.}
51.
 
  Anyway these lines doesnt show all the functions that have been executed
  (the debugger told me...).
 
  So, is there any way to see all the functions that have been executed?
 
  Regards
 
  Javi

 --
 You received this message because you are subscribed to the Google Groups
 symfony users group.
 To post to this group, send email to symfony-us...@googlegroups.com.
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.