Crosscut

Daily Thought - 2024-06-17

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

As of a few days ago, the debugger had a component called the "code explorer". It's where you could see all your code, and set breakpoints anywhere. It wasn't very good. Now it's gone, and if you want to set a breakpoint in code that's not already in front of you, you just go into your editor and add a call to brk there.

It also had an "execution context" which, if the program was currently stopped, showed the current function where it was stopped. Next to that, there was a call stack, which displayed the chain of functions that led to the current one. Both of those are now gone, in favor of a single view of "active functions".

I have another idea, on how to simplify the way that the data function calls operate on is displayed. That will further reduce the debugger's surface area, and thus the maintenance burden going forward. I'm very happy about that. I have the best chance at success, if I can pare what I already have down to its most minimal form.

<< 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.