3 ms·
Let's create a Python Debugger together
- parttimenerd 3y ago4-part series on writing a Python debugger from scratch, using old and new APIs.
- giancarlostoro 3y agoYou should consider prefixing your articles with Show HN: so they get better attention and even more direct feedback. I'm assuming this might be your work anyway, feel free to correct me if I'm wrong. As an aside, I've bookmarked the article, this feels like something that will provide some insight into Python specifics I had no idea existed.
- pvg 3y agoShow HN is not really for serial writing or most types of online reading material. Take a look at https://news.ycombinator.com/showhn.html https://news.ycombinator.com/showhn.html
- gus_massa 3y agoI agree, but it's also a good idea to post a comment explaining you are the author as the OP did.
- parttimenerd 3y agoThank you, it was my first submission :)
- pvg 3y agoProbably better to be a little more explicit than a summary of what the page is about (lots of people habitually paste these in, whether they are the author or not) if you want to post a first comment - I'm the author, ask me things, here's an interesting bit from article, etc. You can also skip it, of course, but you know. Be you, don't be a tldr :)
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- ngcc_hk 3y agoI like this kind of posting and thanks first. It is important to learn by teaching others. May I ask why 3.12. Just read here how marvellous that release is for scipy. Is that something big happen in 3.12. Still on 3.9 due to Pygame.
- beaugunderson 3y agoPython 3.12 adds a new events API useful for debugging: PEP 669 defines a new API for profilers, debuggers, and other tools to monitor events in CPython. It covers a wide range of events, including calls, returns, lines, exceptions, jumps, and more. This means that you only pay for what you use, providing support for near-zero overhead debuggers and coverage tools. See sys.monitoring for details.
- parttimenerd 3y ago3.12 adds new APIs (see blog post), but there are 3 other parts of the series that use an older Python API.
- zubairq 3y agoBrilliant series! Are there any similar articles on how to make a Javascript debugger?