4 ms·
I know a few Smalltalk programmers who did the same thing. They basically wrote their programs in the debugger. It was an interesting technique.
by protomyth 5y ago
I know a few Smalltalk programmers who did the same thing. They basically wrote their programs in the debugger. It was an interesting technique.
- saagarjha 5y agoI do a limited form of this with C/C++ projects that take forever to compile, with many conditional breakpoints that alter control flow to my liking that I then "solidify" into actual code when I have it looking like I want.
- pjmlp 5y agoWith VC++ you can solidify them directly.
- saagarjha 5y agoOh, really? I'm not very familiar with it, do you have the name of the feature so I can look it up?
- pjmlp 5y agoBefore VS 2022, it used to be called edit-and-continue, now they are doubling now on it improving the use cases that are actually supported, and it got renamed as hot reload. https://devblogs.microsoft.com/cppblog/c-edit-and-continue-in-visual-studio-2015-update-3/ https://devblogs.microsoft.com/cppblog/c-edit-and-continue-i... https://docs.microsoft.com/en-us/visualstudio/debugger/edit-and-continue-visual-cpp https://docs.microsoft.com/en-us/visualstudio/debugger/edit-... https://docs.microsoft.com/en-us/visualstudio/debugger/hot-reload?view=vs-2022 https://docs.microsoft.com/en-us/visualstudio/debugger/hot-r... Here is a demo of its latest state from the VS 2022 launch event, https://youtu.be/8SP1w7i8r-Y?list=PLReL099Y5nRc9f9Jpo1R7FsdHGQwqoHLn&t=63 https://youtu.be/8SP1w7i8r-Y?list=PLReL099Y5nRc9f9Jpo1R7FsdH...