Lurker News
Hey HN my name is Thassilo, I'm a student and passionate programmer from Germany.

I want to showcase Spray, a small C debugger I've been working on for a few months now. Spray has a very simple and approachable interface. Its feature set is limited at this point, but it's already enough to tackle some basic problems. I stared to work on Spray because I was curious about how debuggers work. I am also trying to design Spray in such a way that it's easy to grasp and has a small mental overhead.
I'd love to get your feedback on Spray.
Email: d4kd (at) proton (dot) me
PS: I'm generally interested compilers and language tool chains, and I'm looking for similar-minded people to work and collaborate with. I have a few similar projects on my GitHub: https://github.com/d4ckard?tab=repositories. If you find Spray interesting, you might enjoy playing around with them too.

Comments (129) 27 threads

Show all comments

Showing thread 10 of 27

gumby1 reply#
Debuggers are particularly tricky to write so this is quite good!
D4ckard1 reply#
Thanks, it's been quite a struggle at times : D
gumby1 reply#
Yeah, I started working on a pre-existing debugger around the same age as you (this was the ITS debugger DDT, so 40+ years ago) and boy, it was full of puzzling counterintuitive stuff.

And it was just an assembly debugger so minimal debugging symbols. Merely reading some DWARF data is impressive enough. DWARF makes sense to me but that’s only because I worked with other debugging formats and compiler output of same, before and during the evolution of DWARF. I can imagine it’s hard to understand when you start cold with DWARF 5.

D4ckard#
DWARF 5 is truly ... special. My mind was blown when I understood that half of its data is encoded as instructions for full-blown stack-based VM.