logo       

Re: Zillions of components - what is calling what?: msg#00203

web.mason.user

Subject: Re: Zillions of components - what is calling what?

Simon Wonderful <onederful2be@xxxxxxxxxxx> wrote:
> Let's say you've been plonked into an environment where people have
> been programming with Mason for years. There are billions and billions
> of Mason components being called all over the place.
>
> You've been asked to add some 'simple' functionality to an existing
> web site - it's not much different to what's already there, but you
> have absolutely no idea which component is calling which component
> in the mess of components and subdirectories and include files.
>
> And there is (ka-ching) only very little external Word documentation on
> the system.
> What do you do? Can I somehow get Mason to show me a debug trail
> of Mason components being called, when I invoke a web page?

Search through the archives for discussions on profiling. You might
find some ideas in there. I seem to recall one post which suggested
getting the compiler gto insert code to create a small object at the
beginning of the component, which has a DESTROY method which reports the
time that it took to execute that component. This idea could probably
be used to print traces as you go in and out of components.

-Dom

--
| Semantico: creators of major online resources |
| URL: http://www.semantico.com/ |
| Tel: +44 (1273) 722222 |
| Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise