Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Sounds like an ideal tool for debugging.

Trace while running, take a snapshot when there's something wrong



It's a cool hack, but only useful for fast startup just at this point. It can't do network sockets (for obvious reasons), or things like gettimeofday or even fds just now.

Reminds me of a Lisp image dump.


If you want a debugging tool, try http://rr-project.org/


I'd imagine that it has some overhead. So running it on production all the time would not make much sense. Because sometimes restarting a process makes it very hard to reproduce the bug. But snasphost / restore would handle that case. The problem is - what to do with file / network descriptors?


Lots of Smalltalk production systems did exactly this. One could also log into running production systems and inspect live objects.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: