News for hackers. Stuff that matters.
Re:Show HN: Decorate Java stack traces with source code snip... by papercrane on Friday October 06, 2023 @08:14AM (#37789677)
If you're using Java 9+ there is an official API to do that. It's the StackWaker class.

https://docs.oracle.com/javase%2F9%2Fdocs%2Fapi%2F%2F/java/l...

Re:Show HN: Decorate Java stack traces with source code snip... by theanonymousone on Friday October 06, 2023 @09:53AM (#37790815)
Many thanks. Will look at it.