Neal Becker ha scritto:
> --- test.py ---
> def f():
> return 1
>
> def g():
> return f()
>
> g()
> ---------------
>
>
> python -m cProfile -o prof test.py
> epydoc --pstat=prof --graph=all test.py
>
> I don't see any call graph in the html output. No errors either. What am I
> doing wrong? (epydoc-3.0b1)
mmm... it should have worked as you presumed, but it doesn't indeed.
I have checked that the profiling info read (in cli.py r1627 line 771) is
blank (caller and callee are empty).
Testing with the profile states from the test suite of a package of mine, some
callgraph is generated, but it doesn't seem complete.
I'll try to debug what happened in read_profiling_info().
--
Daniele Varrazzo - Develer S.r.l.
http://www.develer.com
|