Hi Claes,
Unfortunately, there is no way (that I'm aware of anyway) to use
ContextBoundObjects to intercept method calls within the same object. This
isn't what CBOs are designed for.
If you want a general way to trace all (or a specific subset of) method
calls, you probably want to use the unmanaged profiling API. There is a
good MSDN Magazine article at
http://msdn.microsoft.com/msdnmag/issues/01/12/hood/ that discusses the
profiling API, and provides a sample of how to use it. The full
documentation is included with the .NET SDK in "Tool Developers
Guide\docs\Profiling.doc". It's a bit more complicated than using CBOs, but
it's much more powerful and efficient.
I hope this helps,
Rick

Signature
This posting is provided "AS IS" with no warranties, and confers no rights.
> Hi!
>
[quoted text clipped - 15 lines]
>
> /Claes