-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roman Steven wrote:
> I'm working on a project which is using open source -> Request Tracker.  I
> was wondering how I can determine what code gets called when it is sent to
> the web server.  I'm still learning mason, so this would be a good learning
> experience.  I am able to modify the mason code which is presented to the
> user, but still unsure where to start to look on server side.

If you're just looking for a simplistic "call chain" overview, this
plugin could come handy:

  http://perl.n0i.net/modules/MasonX-Plugin-CompDebug/

It will dump a "tree like" output like this:

 [Thu Jan 19 21:33:08 2006] [debug] Mason execution chain:
 [Thu Jan 19 21:33:08 2006] [debug] /index.html (0.0004)
 [Thu Jan 19 21:33:08 2006] [debug]     /autohandler (0.0959)
 [Thu Jan 19 21:33:08 2006] [debug]         /index.html:_init (0.0005)
 [Thu Jan 19 21:33:08 2006] [debug]         /index.html:sidebar (0.0545)
 [Thu Jan 19 21:33:08 2006] [debug]         /_gfx (0.0005)
 [Thu Jan 19 21:33:08 2006] [debug]         /index.html (0.0968)
 [Thu Jan 19 21:33:08 2006] [debug]         /_toc (0.0010)
 [Thu Jan 19 21:33:08 2006] [debug]         /_ul (0.0018)
 [Thu Jan 19 21:33:08 2006] [debug]         /_search (0.0006)
 [Thu Jan 19 21:33:08 2006] [debug]         /_bc (0.0016)
 [Thu Jan 19 21:33:08 2006] [debug]             /autohandler:bc (0.0004)
 [Thu Jan 19 21:33:08 2006] [debug]         /_ul (0.0027)

- --
Marius Feraru
-----BEGIN PGP SIGNATURE-----

iD8DBQFEEu7CtZHp/AYZiNkRAlwqAKCksnvFxIMpIz3PDeBXsmgiGx2FAgCfQNzk
nCva+nTNFNEfAhuCcr45EGQ=
=tdop
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to