Debug

Overview

To simplify debugging functionality, the global Debug namespace is designed to be semantically distinct and contain functionality related to typical debugging features.

Fields

.print

fn (...args: Any) -> Void

Prints to the standard output stream.

.eprint

fn (...args: Any) -> Void

Prints to the standard error stream.

.println

fn (...args: Any) -> Void

Prints to the standard output stream, with a newline.

.eprintln

fn (...args: Any) -> Void

Prints to the standard error stream, with a newline.

.breakpoint

fn (...args: Any) -> Void

Attempts to pause execution and pass control to the debugger.

On this page