On 06/10/10 07:28 AM, Dave Miner wrote:
Karen, one more comment that I neglected to include in my first response.

Rather than the DEBUG support described in section 12, have you considered DTrace as the solution? The Python DTrace provider covers many of the cases where I've seen debug-style statements used in the past.

Dave
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss


Hi Dave,

I am not familiar with the Python Dtrace provider in Solaris. To answer your question above, I did a little research and some quick learning. Most of the examples I saw are tracing the entry and exit of functions. Tracing the functions and seeing which ones are called and when is certainly useful. Another thing that I found useful is displaying the value of some of the variables. For the engine's case, I think
it would be useful to see what modules and checkpoints are registered, and
what arguments they are registered with, or the normalized progress value
the engine calculated.  Those are the kind of things I plan to log
at the DEBUG level.

During my research and learning, I also found that the Python Dtrace provider
is only available for python 2.4.  It is not available for Python 2.6 yet.
So, we won't be able to utilize it until it is ported to 2.6.

Thanks,

--Karen

_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to