> >
> > 4) Is there any easy method to trace function entry and exit? Is  
> > there any
> > pattern that you recommend for the same?
> >
>
> Maybe others can comment on this.

You can pretty easily write a class who's constructor and destructor log.
It sounds like you're on a windows platform, so you may be able to use the
__FUNCTION__ macro and not require users to enter the function name.  You
could also save a timestamp at entry so that at exit you could automatically
log the time spent in the function.  With this approach you'll get this
logging even in the presence of exceptions.

Reply via email to