Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 342 Bytes

DEBUGGING.md

File metadata and controls

9 lines (8 loc) · 342 Bytes

Common Debugging tricks

Useful expression to use in the debugger's evaluator to dump the current stack trace:

StreamSupport.stream(ctx.getVM().threadManager.currentOsThread().getBacktrace().spliterator(), false)
        .map(ExecutionContext::getMethod)
        .map(Object::toString)
        .collect(Collectors.joining("\n"))