pycallgraph with pycharm does not work
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm using mac os x and trying to setup pycallgraph. Ive installed pycallgraph with pip and graphviz with homebrew. Everything works from shell. But not from pycharm. from pycallgraph import PyCallGraph from pycallgraph import Config from pycallgraph import GlobbingFilter from pycallgraph.output import GraphvizOutput config = Config() config.trace_filter = GlobbingFilter(exclude=[ 'pycallgraph.*', ]) graphviz = GraphvizOutput(output_file='filter_exclude.png') with PyCallGraph(output=graphviz, config=config): def my_fun(): print "HELLO" my_fun