Debugger as a real-time editor
Years ago, I was watching a senior engineer iterate on a feature. It was a game written in C++. The time to compile, link, and launch was not fast. There was no hot-reload.
He used the debugger to pause at certain points, and would manipulate stack variables to experiment. It was an effective technique for the situation and the technology at the time.
If you find yourself doing this often enough, it might be worth looking into supporting such tuning with a dedicated system rather than a debugger. There may be performance considerations to be aware of. Also, implementation time to create it.
It’s worth learning more about the debugger(s) available to you. You might be surprised at what they are capable of!
Last week, I verified a theoretical web exploit by using the Chrome JavaScript Debugger. I didn’t need the source code of the front-end or any source maps. I set a breakpoint, and changed the value of a stack variable to take a different branch. (Side note: application authority should be in a trusted environment.)
What unusual situation have you used a debugger for?