-
-
Couldn't load subscription status.
- Fork 67
Development
Gaute Hope edited this page Feb 14, 2017
·
11 revisions
Compile without --release argument to enable debugging:
$ sconsThen run astroid using gdb (here without starting the automatic polling):
$ gdb --args ./astroid --no-auto-pollafter a crash, type e.g. bt at the gdb prompt to get a backtrace.
Compile with the --profiler option:
$ scons --profilerTo profile, run astroid:
$ astroid --no-auto-poll # no automatic pollingthis creates the file gmon.out in the current directory. Use gprof to parse the output:
$ gprof astroid > prof.outand use gprof2dot and dot (part of graphviz) to graph the output:
$ gprof2dot prof.out | dot -Tpng -o prof.pngnow examine prof.png.