TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: RootCause – Record, Replay and Reproduce JavaScript Errors

98 pointsby mankzabout 7 years ago

16 comments

RussianCowabout 7 years ago
Looks neat and particularly polished for a Show HN. I especially loved the sandbox demo. However, I don&#x27;t see anything that this offers that LogRocket[0] doesn&#x27;t already have. How does RootCause compare?<p>[0]: <a href="https:&#x2F;&#x2F;logrocket.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;logrocket.com&#x2F;</a>
评论 #16755787 未加载
评论 #16755811 未加载
ggregoireabout 7 years ago
Not directly related to this product (looks good btw!), but I&#x27;ve been using static type checking (Flow&#x2F;TypeScript) for almost 2 years and since then, I haven&#x27;t seen a single JS error in production. I do believe it&#x27;s as important as writing tests now, if not more.
评论 #16755662 未加载
评论 #16758980 未加载
评论 #16756479 未加载
TheAceOfHeartsabout 7 years ago
Unfortunately, site is down.<p>For error tracking I&#x27;ve previously used Sentry [0]. I found it really easy to use and setup in a fairly large JS app. The best part is that it&#x27;s open source, so you always have the option of hosting it yourself, which removes any fear of vendor lock-in. I&#x27;d say it&#x27;s well worth paying for their SaaS offering.<p>EDIT: Looking through the docs, it seems they expect you to load their non-versioned third-party sourced script, and it&#x27;s not even hosted on a CDN. That&#x27;s a huge security risk, so it&#x27;s an immediate blacklist for me.<p>[0] <a href="https:&#x2F;&#x2F;sentry.io&#x2F;welcome&#x2F;" rel="nofollow">https:&#x2F;&#x2F;sentry.io&#x2F;welcome&#x2F;</a>
评论 #16755966 未加载
评论 #16755531 未加载
audiolionabout 7 years ago
Looks like a direct competitor to <a href="https:&#x2F;&#x2F;sessionstack.io" rel="nofollow">https:&#x2F;&#x2F;sessionstack.io</a><p>I am not sure how I feel about these session recorders and probably want to start blocking them from my browser. It is akin to someone recording your every movement inside your house and watching the video to see what issues come up. Oh and you have no idea its happening.<p>Also wonder about how this data is protected. If videos of how I used Facebook were leaked (messages I started to type but didnt send for instance) it would be a huge violation of my privacy.<p>In the same token, its like free UX research, you can see where people struggle by watching them use the app. It is like standing over someone&#x27;s shoulder to see how they are using the product and helps immensely in that realm. I still feel like it should be opt in though.
评论 #16756027 未加载
vbstevenabout 7 years ago
I find it funny that here on HN in one thread we complain about Facebook scanning all of our messages while in the next thread we praise a product that tracks JavaScript events, keystrokes and mouse movements...
chacham15about 7 years ago
Random question: I&#x27;ve had bugs which were a simple result of timing (mostly due to the cpu being used by other processes running on the users machine), how would something like this be able to replay that error for me? If I were to replay that same data on my machine, because of the availability of cpu horsepower on my machine, I wouldnt be able to reproduce the error. Does anyone have insight to this?
评论 #16758949 未加载
hashkbabout 7 years ago
Hugged to death. Wonder what they use for backend errors.
k1nsabout 7 years ago
This is great. Well done. The demo had me laughing in a very good way (I was genuinely having fun watching it replay).
nickreeseabout 7 years ago
Wow, this is impressively polished. Will look for an opportunity to test it out on a project we&#x27;re working on.
bsimpsonabout 7 years ago
You&#x27;d want to be really careful recording&#x2F;replaying sessions on pages that capture personally identifiable information; then again, you probably wouldn&#x27;t be running a third-party service like this if you were.
评论 #16755621 未加载
评论 #16755919 未加载
spraakabout 7 years ago
I wonder why they didn&#x27;t register <a href="https:&#x2F;&#x2F;www.rootcause.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.rootcause.io&#x2F;</a> (i.e. why the &quot;the&quot; in the url)
评论 #16757265 未加载
hkndabout 7 years ago
Didn&#x27;t think that I&#x27;ll find an application in 2018 which will use ExtJS, but therootcause dashboard is using it (:
评论 #16755894 未加载
fiatjafabout 7 years ago
Unless you running a million-user app, I believe you shouldn&#x27;t fall for this. I have, multiple times. I&#x27;ve tried to catch what users were doing and get a log of the exceptions they faced. Only despair followed from these attempts.<p>The best error handling technique is to catch exceptions and show up a big popup on the screen with the error details.<p>Your users will send those details to you instead of just saying &quot;the app crashed&quot;.
评论 #16764840 未加载
评论 #16757283 未加载
igotsideasabout 7 years ago
The site is down for me.
评论 #16755659 未加载
Annika11about 7 years ago
Nice!
kerkeslagerabout 7 years ago
The fact that tools like this are needed should be understood to mean that JavaScript error handling is fundamentally broken.<p>In a reasonable language, you do something obviously wrong, and it throws an exception immediately, which gives you a stack trace that gives reasonable context for understanding what went wrong.<p>In JavaScript, the failure often happens silently: &quot;foo&quot; + 1 returns &quot;foo1&quot;, {}.foo returns undefined, and program execution continues until it absolutely can&#x27;t, finally failing far away from where the problem occurred. And when it does fail, it often fails in a callback deep within framework code with no clear, traceable execution path that leads back to the point where the error occurred. The errors have all the mysteriousness of C errors, without even the traceability.<p>The JavaScript community doesn&#x27;t seem to be aware that there are better solutions, and seem happy with the way things are, even going so far as to use JavaScript on servers where far better tools exist. It seems that the only salvation that will come will be when mature tools exist on top of WebAssembly so that those of us who care about error reporting can use better toolchains.
评论 #16757099 未加载
评论 #16764786 未加载
评论 #16758452 未加载