# trace

`import { trace } from "destack:console";`

Write the current stack trace to stderr.

```ds title="trace"
export function trace(...values: unknown[]): Result<void, HostError>
```

[language/library/src/console/console.ds:127:129](https://github.com/destack-sh/destack/blob/main/language/library/src/console/console.ds#L127-L129)
