Crosscut

Daily Thought - 2024-05-13

Hey, I'm Hanno! These are my daily thoughts on Crosscut, the programming language I'm creating. If you have any questions, comments, or feedback, please get in touch!

This thought was published before Crosscut was called Crosscut! If it refers to "Caterpillar", that is the old name, just so you know.

< back to list

Yesterday, I was musing about how I can implement breakpoints more efficiently, by deploying new code on the fly that implements the breakpoint (or deploy code that no longer implements it, when removing one). Turns out, perhaps unsurprisingly, that this is how debuggers work anyway! At least where hardware support for debugging is not available.

This technique is called "software breakpoints". I found some documentation of GDB internals that explains it.

<< previous thoughtnext thought >>

Hey, you! Want to subscribe to my daily thoughts? Just let me know (maybe include a nice message, if you're up for it), and I'll send you an email whenever I post a new one.