racket/collects/errortrace/errortrace.ss
Eli Barzilay cb8acb8fd3 * Exposed a proper coverage interface, similar to execution counts
* Generalized `annotate-executed-file' so it can deal with both,
  also can customize its output
* Explain the difference between coverage-counts and execution-counts in
  doc.txt

svn: r4906
2006-11-21 05:51:38 +00:00

32 lines
883 B
Scheme

;; Poor man's stack-trace-on-exceptions/profiler.
;; See doc.txt for information.
(module errortrace mzscheme
(require "errortrace-lib.ss")
(provide print-error-trace
error-context-display-depth
instrumenting-enabled
profiling-enabled
profiling-record-enabled
profile-paths-enabled
get-profile-results
output-profile-results
clear-profile-results
execute-counts-enabled
get-execute-counts
annotate-executed-file
coverage-counts-enabled
get-coverage-counts
annotate-covered-file)
(current-compile errortrace-compile-handler)
(error-display-handler errortrace-error-display-handler)
(use-compiled-file-paths (cons (build-path "compiled" "errortrace")
(use-compiled-file-paths))))