Idiots guide to code objects, frame objects and settrace?
Michael Hudson
mwh at python.net
Thu Feb 21 06:19:32 EST 2002
quinn at schilling.ugcs.caltech.edu (Quinn Dunkan) writes:
> On Tue, 19 Feb 2002 22:28:50 -0000, Tim Rowe <tim at eltig.freeserve.co.uk> wrote:
> >Is there an idiots guide to code objects, frame objects and settrace
> >anywhere? I want one program to monitor the execution of another. I've
> >looked at coverage.py from the Vaults of Parnassus, but can't make enough
> >sense of it to adapt it to do what I want.
>
> A combination of the langref and interactive mucking around worked
> just fine for me. They're not very complicated. The only possibly
> confusing bit is that tb_next points downstream and f_back points
> upstream... or is it the other way around?
tb_next points "cross-stream" more than anything doesn't it? It's
almost always None, anyway (if I'm thinking of the right field).
Cheers,
M.
--
If Unicode is a horde of zombies with flaming dung sticks,
the hideous intricacies of JIS, Chinese Big-5, Chinese
Traditional, KOI-8, et cetera are at least an army of ogres
with salt and flensing knives. -- Eric S. Raymond, python-dev
More information about the Python-list
mailing list