3 ms·
REPL is very useful, but few months ago I realize[0] that setting a break-point is not easy as people think, because the program can visit the line through mult
by milansuk 6y ago
REPL is very useful, but few months ago I realize[0] that setting a break-point is not easy as people think, because the program can visit the line through multiple paths(function can be a call from different places), so you can spend a lot of time debugging/finding the right path to the line, which means that you probably have to set more break-points to get the program to the right place faster.
[0] https://skyalt.com/blog/repl.html https://skyalt.com/blog/repl.html
- aidenn0 6y agoIn lisp I do something like: (when (in-state-i-care-about) (break)) Many non-lisp debuggers have conditional breakpoints, though they often have a larger performance overhead than the above.