Skip to content Skip to footer
Demystifying Debuggers by ibobev

Demystifying Debuggers by ibobev

6 Comments

  • Post Author
    captn3m0
    Posted June 11, 2025 at 5:27 am

    Related: https://nostarch.com/building-a-debugger is close to publication (currently in Early Access) and covers building a debugger for x64.

  • Post Author
    thasso
    Posted June 11, 2025 at 6:48 am

    If you are interested in debuggers, there was a post series by Sy Brand a few years back:

    https://blog.tartanllama.xyz/writing-a-linux-debugger-setup/

    Eli Bendersky also wrote about debuggers (I think his post is a great place to start):

    https://eli.thegreenplace.net/2011/01/23/how-debuggers-work-…

    I was fascinated with debuggers a while back exactly because they were so mysterious to me. I then wrote a ptrace debugger myself [1]. It features pretty simple implementations of the most common stuff you would expect in a debugger. Though I made the grave mistake of formatting all the code in GNU style.

    [1]: https://github.com/thass0/spray/tree/main/src

  • Post Author
    apples_oranges
    Posted June 11, 2025 at 7:00 am

    Very interesting topic. Once you know how they work, the next fun thing is writing code that can detect or prevent debugging (and thus circumventing your DRM or copy protection..) ;)

  • Post Author
    furkansahin
    Posted June 11, 2025 at 9:23 am

    Amazing! I'll follow. For what it's worth, I owe my career to the Eclipse debugger. At some point I started using it so much that my friends started to call me "debugger". I find writing code together with a debugger extremely educating.

  • Post Author
    wiz21c
    Posted June 11, 2025 at 11:32 am

    I've used debuggers now and then. What's the state of the art nowadays (in terms of cool functionalities) ? (too lazy to ggl or gpt it)

  • Post Author
    tilne
    Posted June 11, 2025 at 12:24 pm

    > But perhaps most importantly, debuggers are an intricate piece of the puzzle of the design of a development platform—a future I become more interested in every day, given the undeniable decay infecting modern computing devices and their software ecosystems.

    I agree with this sentiment, yet still I’m wondering if it’s fully justified. There has never been more bad software than right now, but there has never been more good software either, no?

    It’s not super relevant to the main contents of the article. Just a bit that caught my attention with regards to how it made me think.

Leave a comment

In the Shadows of Innovation”

© 2025 HackTech.info. All Rights Reserved.

Sign Up to Our Newsletter

Be the first to know the latest updates

Whoops, you're not connected to Mailchimp. You need to enter a valid Mailchimp API key.