Stack Traces in Debugging

Comments discuss the importance, limitations, and alternatives to stack traces for error debugging across languages like Go, Python, JS, and Rust, including tools for capturing and improving them.

➡️ Stable 0.6x Programming Languages
2,928
Comments
20
Years Active
5
Top Authors
#6776
Topic ID

Activity Over Time

2007
2
2008
11
2009
28
2010
41
2011
68
2012
122
2013
195
2014
144
2015
145
2016
180
2017
135
2018
137
2019
182
2020
203
2021
264
2022
237
2023
287
2024
257
2025
280
2026
12

Keywords

JS S3 wordpress.com exceptionhub.com IME InferArguments CS github.com TraceKit LoggedError stack traces trace debug error debugger exceptions info func errors

Sample Comments

jgalt212 Dec 30, 2016 View on HN

this seems a jillion times better than a standard stacktrace. why isn't it in built into the core?

avlesh-singh Dec 6, 2011 View on HN

Cool idea! Does it give me a stacktrace of exceptions too?

ice109 Mar 4, 2017 View on HN

I don't understand there are no stack traces unless you use a library?

azth Sep 15, 2021 View on HN

Other languages have stack traces, so you don't have to reinvent the wheel in an inferior manner.

seunosewa Aug 4, 2025 View on HN

Printing stack traces generates a lot of useful context but it's not done enough.

eru Apr 13, 2011 View on HN

Shouldn't it be easier to debug, because you have stack traces?

javier2 Sep 20, 2022 View on HN

Does this not give you working stack traces?

saagarjha Jul 17, 2025 View on HN

You should be able to get stack traces in the debugger, what issues did you run into?

drewg123 Apr 7, 2020 View on HN

I'd suggest looking at backtrace.io It may be overkill for what you want to do, but one thing it does really well is to log stack traces.

gozur88 Jul 1, 2016 View on HN

I don't see why anyone would find this superior to a stack trace.