views:

149

answers:

5

Recently I came across a tool which could analyse running python code and produced a visual representation similar to a code editor to allow one to step through the different parts of the code, seeing how many times each part was called, execution time, etc.

I can't find the reference to it again. Would anyone know what it might be? 

A: 

NetBeans with python plug-in?

Vitaly Dyatlov
Nope, although that looks good, it was IIRC a stand-alone tool not an IDE extension.
digitala
+2  A: 

cProfile or Hotshot.

James
No, it was neither of those. It may have used those libraries, but it gave a very handy visual interface which looked like highlighted code in an editor.
digitala
have a look at the David's/f3lix's answer I think thats what you are looking for.
James
+1  A: 

RunSnakeRun is user interface for cProfile/Hotshot (see James' answer), which also provides a visualization of the profiling data.

Another useful link might be the link to the PyCon2009 Talk Introduction to Python Profiling (#65)

f3lix
A: 

Maybe Python Call Graph?

sunqiang
+1  A: 

Found what I was looking for: Code Investigator

CodeInvestigator is a tracing tool for Python programs. All run time information is recorded. Read your code together with its run time details in a Firefox browser. See what your program did when it ran.

digitala