by mrmaddog on 11/7/13, 10:48 PM with 19 comments
by coldcode on 11/8/13, 1:25 AM
by fijal on 11/8/13, 9:03 AM
by bravura on 11/8/13, 7:33 AM
Could debuggers please store the code paths and variable values, over the last 50 executions or perhaps the test suite (deterministic)? This is particularly useful for understanding someone else's code.
[edit: a context-free version of reverse debugging]
I've recently been enjoying using IntelliJ for Scala, because it can show me types, and jump to type declarations, and usages.
However, I still have to do a bunch of print debugging when trying to understand someone else's code, because I want to understand what values certain variables take. This is a pain using a compiler as slow as Scala.
Something that captured relevant information, so that it would be easier + faster to do print debugging against previous code runs or the test suite, would be awesome.
by neur0mancer on 11/7/13, 11:33 PM
by Groxx on 11/8/13, 1:50 AM
I really like the idea. Never knew GDB had implemented it (thanks for the link!). I'll definitely try this out :)
by martin_ on 11/7/13, 11:25 PM
by peterhajas on 11/8/13, 9:13 AM