Open GoogleCodeExporter opened 8 years ago
I think this is the same issue. The error I am getting is:
Traceback (most recent call last):
File "cg2dot.py", line 25, in <module>
tree = XdebugCachegrindTreeBuilder(xdebug_parser).get_tree()
File "/home/yuval/software/xdebugtoolkit/reader.py", line 108, in get_tree
body_obj = self.parser.get_body()
File "/home/yuval/software/xdebugtoolkit/cgparser.py", line 293, in get_body
header = self.get_header()
File "/home/yuval/software/xdebugtoolkit/cgparser.py", line 280, in get_header
raise Exception(line_no, line, token)
Exception: (2, '==== NEW PROFILING FILE
==============================================\n', None)
bumping.
Original comment by yha...@gmail.com
on 13 May 2009 at 6:25
Hello yhager,
After weighting consumptions of adding this sort of parsing and it's conflicts
with
other features, I decided to make at first another simple tool for splitting
appended
files into regular ones, that you will be able to process using cg2dot. This
tool
will be ready in a few days.
Original comment by Alexey.K...@gmail.com
on 3 Jun 2009 at 9:51
r75
This simple tool can be executed like
{{{
./cgsplit.py path/to/file.cg [...]
}}}
It will split the files into enumerated ones like file.0.cg, file.1.cg, etc in
the
current directory.
In my case with tth.cg the command looks this way:
{{{
./cgsplit.py fixtures/tth.cg; ./cg2dot.py tth.*.cg | ./xdot.py -
}}}
Hope this helps you.
Original comment by Alexey.K...@gmail.com
on 4 Jun 2009 at 3:03
Original comment by Alexey.K...@gmail.com
on 5 Jun 2009 at 10:00
Original issue reported on code.google.com by
Alexey.K...@gmail.com
on 16 Nov 2008 at 3:51Attachments: