Module Simantics/Development
This module is undocumented. This is a list of its definitions.
developmentClear :: () -> <Proc> ()
Empties development.log, the file the database query tracing writes into.
The tracing itself is compiled out unless Development.DEVELOPMENT is turned
on in the Java source, so in an ordinary build the file stays empty and the
report functions here have nothing to read.
developmentReportPQ :: () -> <Proc> String
As developmentReportPR but for the query lines, the ones starting with PQ.
Writing the report overwrites the one written by developmentReportPR, since
both use development.report.
developmentReportPR :: () -> <Proc> String
Counts the read requests recorded in development.log, that is the lines
starting with PR, and returns them one per line with the count first,
ordered by decreasing count. The same text is written to
development.report.
developmentSetBreakLine :: String -> <Proc> ()
Arms a breakpoint on one traced line: the next time exactly that line is
written to development.log, a stack trace naming the line is printed. Only
one line can be armed at a time.
|