4 ms·
Debugging by starting a REPL at a breakpoint is fun
- fmakunbound 5y agoThis should have included some reference to the preeminent examples: Common Lisp and Smalltalk
- eliaspro 5y agoFor Python I prefer pudb [1] which comes with built-in support for REPLs at breakpoints, such as iPython. [1] https://pythonrepo.com/repo/inducer-pudb-python-debugging-tools https://pythonrepo.com/repo/inducer-pudb-python-debugging-to...
- lispm 5y agoBreaking the break CL-USER 7 > (break) Break. 1 (continue) Return from break. 2 (abort) Return to debug level 0. 3 Restart top-level loop. Type :b for backtrace or :c <option number> to proceed. Type :bug-form "<subject>" for a bug report template or :? for other options. CL-USER 8 : 1 > (break) Break. 1 (continue) Return from break. 2 (abort) Return to debug level 1. 3 Return from break. 4 Return to debug level 0. 5 Restart top-level loop. Type :b for backtrace or :c <option number> to proceed. Type :bug-form "<subject>" for a bug report template or :? for other options. CL-USER 9 : 2 >