www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - ptrace

reply Lutger <lutger.blijdestijn gmail.com> writes:
http://www.dsource.org/projects/scrapple/wiki/PtraceUtility

ptrace is a small utility that can parse dmd's trace.log files to make a bit
more readable html from them. 

You'll need a recent tango to use it. It works via the ddoc system, but now
has the option to invoke dmd in one go thus being a bit more user-friendly.
Just execute ptrace in a directory with a trace.log file, see the wiki
and 'ptrace -h' for details.
Jan 22 2008
next sibling parent Lutger <lutger.blijdestijn gmail.com> writes:
I forgot, for convenience, ptrace is just a single sourcefile:
www.dsource.org/projects/scrapple/browser/trunk/ptrace/ptrace.d?format=txt

and the macro definitions (only needed when you want to customize):
www.dsource.org/projects/scrapple/browser/trunk/ptrace/trace.ddoc
Jan 22 2008
prev sibling parent reply Bjoern <nanali nospam-wanadoo.fr> writes:
Lutger schrieb:
 http://www.dsource.org/projects/scrapple/wiki/PtraceUtility
 
 ptrace is a small utility that can parse dmd's trace.log files to make a bit
 more readable html from them. 
Hi and thanks :) As part of my IDE project I am working on creating *pie charts based upon D's profilers output. (Since yesterday) So your code is absolutely "Just in time !" Bjoern * plus open office calc- ,xml- ...docs
Jan 22 2008
parent reply Lutger <lutger.blijdestijn gmail.com> writes:
Bjoern wrote:

 Lutger schrieb:
 http://www.dsource.org/projects/scrapple/wiki/PtraceUtility
 
 ptrace is a small utility that can parse dmd's trace.log files to make a
 bit more readable html from them.
Hi and thanks :) As part of my IDE project I am working on creating *pie charts based upon D's profilers output. (Since yesterday) So your code is absolutely "Just in time !" Bjoern * plus open office calc- ,xml- ...docs
Sounds good. ptrace is not very polished, don't hesitate to request something if you need it.
Jan 22 2008
parent Bjoern <nanali nospam-wanadoo.fr> writes:
Lutger schrieb:
 ... don't hesitate to request
 something if you need it. 
Sure I will. I have to work with DLLs written in D using Windows calling convention. Meanwhile I know how to manage it (using Tango and callbacks) but probabely I have to ask one or two questions. So many! thanks for offering help. Bjoern Oh, I will post my questions here a D.announce (within the next 2 days).
Jan 22 2008