Tim Misiak
timdbg.com · Personal blog · on HN since 2022
Tim Misiak, a Windows developer, writes about debuggers, emulators, and low-level tooling, including a Rust debugger series called DbgRs.
What HN saysHN commenters point to his step-by-step 'write a debugger from scratch' series as a tutorial for Windows x86-64 and link to other posts like Snippy.
19HN people shared it
5linked it in comments
21stories submitted
483story points
3 months agolast shared
2022people per year2026
Most-shared posts
- 1Writing a Debugger from Scratch – DbgRs Part 17 people · 10 points · first shared 2023 · 1 comments on HN
- 2Recognizing Patterns in Memory (2022)4 people · 13 points · first shared 2022 · 1 comments on HN
- 3Things I learned while writing an x86 emulator (2023)2 people · 354 points · first shared 2023 · 127 comments on HN
- 4Snippy: An OSS Rust-Based AI Assistant with Eyes2 people · 7 points · first shared 2024 · discussion on HN
- 5Run My Code (code injection on Windows)2 people · 3 points · first shared 2023 · discussion on HN
- 6Writing a Debugger from Scratch – DbgRs Part 7 – Disassembly1 people · 54 points · first shared 2024 · discussion on HN
- 7Writing a Debugger from Scratch: Source and Symbols1 people · 25 points · first shared 2024 · 1 comments on HN
- 8Debugger Lies: Stack Corruption1 people · 8 points · first shared 2022 · 1 comments on HN
- 9Writing a Debugger from Scratch: Breakpoints1 people · 5 points · first shared 2023 · discussion on HN
- 10The faker's guide to reading (x86) assembly language1 people · 2 points · first shared 2023 · discussion on HN
- 11Writing a Debugger from Scratch: Stacks1 people · 2 points · first shared 2023 · discussion on HN
- 12Homepage1 people · first shared 2026
- 13Whats the target model1 people · first shared 2025
What HN people wrote when they linked it
Cieric · 2026-07-24
I feel like it's good to note since I missed it. This post is from Feb 13, 2023. He has up to 8 posts on this at this point which don't appear to be linked to from this post. I think linking to all of them would be a bit much, but they're all currently listed on his main page [1].
[1] https://www.timdbg.com/
bpye · 2025-09-10
This still exists? You can also use JavaScript to script/extend and there is a native code API too.
Note: I do work at MSFT, I have used these capabilities but I’m not on the debugger team.
https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/ja…
https://www.timdbg.com/posts/whats-the-target-model/
https://github.com/microsoft/WinDbg-Samples/tree/master
hippospark · 2025-05-06
For those interested in writing a debugger: There are a series of tutorials on how to write a debugger from scratch for Windows x86-64 using Rust [1]. Additionally, there is a book titled "Building a Debugger - Write a Native x64 Debugger From Scratch" by Sy Brand [2].
[^1]: https://www.timdbg.com/posts/writing-a-debugger-from-scratch-part-1/ [^2]: https://nostarch.com/building-a-debugger
dbish · 2024-06-26
How about snippy? https://www.timdbg.com/posts/snippy-assistant-with-eyes/
asicsp · 2023-11-23
Part-1 (Attaching to a Process): https://www.timdbg.com/posts/writing-a-debugger-from-scratch-part-1/
Discussion for part-5 (Breakpoints): https://news.ycombinator.com/item?id=37670938 (320 points | 57 days ago | 51 comments)