Same as Macro.
Same as Macro.containerErr[ContainedT], but for Java Arrays (callable from Java Code)
Same as Macro.
Same as Macro.containerOut[ContainedT], but for Java Arrays (callable from Java Code)
A fatal assertion.
A fatal assertion. Terminates the program with exit code "7" Note: "assert" is a reserved keyword in Java, use "assrt" instead.
the assertion that must be true for the program to run.
the message to be printed to standard error on assertion failure
the string containing what was printed or what would have been printed if printing was enabled. You can pass this string into a logger.
Debug.assert( 1 + 2 == 4, "Error: one plus two is not equal to four" )
this (and other assertions not marked "nonFatal") are fatal. To disable, please call "Debug.fatalAssertOffSE()"
A fatal assertion.
A fatal assertion. Terminates the program with exit code "7"
the assertion that must be true for the program to run.
the message to be printed to standard out on assertion failure
the string containing what was printed or what would have been printed if printing was enabled. You can pass this string into a logger.
Debug.assertOut( 1 + 2 == 4, "Error: one plus two is not equal to four" )
this (and other assertions not marked "nonFatal") are fatal. To disable, please call "Debug.fatalAssertOffSE()"
Like Debug.
Like Debug.assert(), but does not terminate the application
the string containing what was printed or what would have been printed if printing was enabled. You can pass this string into a logger.
Like Debug.
Like Debug.assertOut(), but does not terminate the application
the string containing what was printed or what would have been printed if printing was enabled. You can pass this string into a logger.
Disables tracing and asserts.
Disables tracing and asserts. Both fatal and non-fatal assertions are disabled. Does not disable print or println
Enables tracing and asserts, including fatal assertions.
Traces to standard error with a N line stack trace.
Traces to standard error with a N line stack trace.
whatever it is you want to print.
the number of lines to trace
the string containing what was printed or what would have been printed if printing was enabled. You can pass this string into a logger.
Traces to standard error with a one line stack trace.
Traces to standard error with a one line stack trace.
whatever it is you want to print.
the string containing what was printed or what would have been printed if printing was enabled. You can pass this string into a logger.
Disables fatal assertions.
Disables fatal assertions. Has no effect on "check", only on "assert" and other fatal assert methods (assertEquals, etc.)
Enables fatal assertions.
Enables fatal assertions. Has no effect on "check", only on "assert" and other fatal assert methods (assertEquals, etc.)
Gets the collection as a string of n elements from start to start + numElements
Gets the collection as a string of n elements from start to start + numElements
Uses Java notation for Java users
Uses Java notation for Java users
the number of elements per row for container printing
Tells you whether fatal asserts are on or off
Tells you whether non-fatal asserts are on or off
Tells you whether tracing to standard error is on or off Note that disabling the "trace" feature does not disable the "assert" feature
Tells you whether tracing to standard out is on or off Note that disabling the "traceStdOut" feature does not disable the "assertStdOut" feature
Disables non-fatal assertions.
Disables non-fatal assertions. Has no effect on "assert" and other fatal assert methods (assertEquals, etc.)
Enables non-fatal assertions.
Enables non-fatal assertions. Has no effect on "assert" and other fatal assert methods (assertEquals, etc.)
Same as Debug.
Same as Debug.err(toPrint: Any, numLines: Int), but prints to standard out instead of standard error
the string containing what was printed or what would have been printed if printing was enabled. You can pass this string into a logger.
Same as Debug.
Same as Debug.err, but prints to standard out instead of standard error
the string containing what was printed or what would have been printed if printing was enabled. You can pass this string into a logger.
Uses Java notation for Java users
Uses Java notation for Java users
the number of elements per row for container printing
Stack offset is 2 because the first row in the stack trace is Thread and the second row is internal call
Stack offset is 2 because the first row in the stack trace is Thread and the second row is internal call
Disables tracing to standard error.
Disables tracing to standard error. Has no effect on "print" or "println", only on "trace" methods
Enables tracing to standard error.
Enables tracing to standard error. Has no effect on "print" or "println", only on "trace" methods
Disables tracing to standard out.
Disables tracing to standard out. Has no effect on "print" or "println", only on "traceStdOut" methods
Enables tracing to standard out.
Enables tracing to standard out. Has no effect on "print" or "println", only on "traceStdOut" methods
Contains static debug functions for Java and Scala. https://github.com/JohnReedLOL/scala-trace-debug