don't require in module

svn: r1372
This commit is contained in:
Matthew Flatt 2005-11-22 19:45:37 +00:00
parent 225ab7916d
commit cc8598cb4d

View File

@ -33,7 +33,7 @@ handler or the error display handler.
Exception Information Exception Information
--------------------- ---------------------
Invoking the errortrace.ss module sets the compilation handler to Invoking the _errortrace.ss_ module sets the compilation handler to
instrument Scheme source code. It also sets the error display handler instrument Scheme source code. It also sets the error display handler
to report source information for an exception, and it sets the to report source information for an exception, and it sets the
`use-compiled-file-paths' parameter to trigger the use of `use-compiled-file-paths' parameter to trigger the use of
@ -44,6 +44,9 @@ errortrace-specific .zo files.
file). But use the "--mode errortrace" flag to Setup PLT to create file). But use the "--mode errortrace" flag to Setup PLT to create
.zo files with errortrace information. .zo files with errortrace information.
Explicitly requiring "errortrace.ss" within a module is generally a
bad idea, since "errortrace.ss" sets various parameters.
Errortrace's instrumentation can be explicitly disabled via the Errortrace's instrumentation can be explicitly disabled via the
`instrumenting-enabled' boolean parameter. Instrumentation is on by `instrumenting-enabled' boolean parameter. Instrumentation is on by
default. The `instrumenting-enabled' parameter affects only the way default. The `instrumenting-enabled' parameter affects only the way