Conversation

A wrote a book on how debuggers work!

It guides you through writing a complete native debugger from scratch.

Available Spring 2025 from @nostarch (probably not with this cover)

14
10
3

@TartanLlama @nostarch > PLACEHOLDER NOT FINAL

ok but it should be final, we need Marshmallow on the cover :D

2
0
0

Preorders are live now, and the first ten chapters are available on Early Access

https://nostarch.com/building-a-debugger

3
0
0

@TartanLlama @nostarch hallelujah - I have been asking/hoping for this book since 1997: https://third-bit.com/not-on-the-shelves/1997/. Very much looking forward to it - thank you.

0
0
0
Edited 11 months ago
@TartanLlama @ljs @nostarch

I'm not that interested on a debugger book because I've written at least couple of debuggers and profilers for internal use in some companies and also read the classic "Gray Hat Python" BUT as a future recommendation I'd buy immediately a spiritual successor of "Linkers and Loaders".

There's been some binary analysis books after but they are not enjoyable read like Linkers and Loaders is bit historical tidbits etc. They are more like tutorials. You should check this book out some day if you've never read. I guarantee you will enjoy it (by Stephen Levy from 1999).

I just wish someone would write a great book about binary formats because I enjoy that stuff almost a hobby ;-) Like now that eBPF even has ELF profile, would be great to go through from IBM mainframe times to that and some discussion how they have been modernized for more modern languages. It's a total treasure zone of great lore.
1
0
0
@TartanLlama @ljs @nostarch Volunteer to comment and review manuscript if anyone goes forward with such book o/
1
0
0
Edited 11 months ago
@TartanLlama @ljs @nostarch [or even contribute a chapter, preferably chapter on MS-DOS COM/EXE and DOS extenders ;-) And how to compile COM and DOS MZ executables with modern tools]
0
0
1

@TartanLlama @nostarch @mhoemmen congratulations- it looks like an interesting walk through!

0
0
0

@TartanLlama @nostarch We've had several feline debuggers in our house... they're fun to watch and a lot better than poisonous sprays. However, we've always gotten them pre-built; looking forward to seeing how we could build our own!

0
0
0

vitaut 🀍❀️🀍 πŸ‡ΊπŸ‡¦

@TartanLlama @nostarch Does it cover printf debugging?

1
0
0

@TartanLlama @nostarch
We need as many debuggers as we can get, because the software development field is absolutely filled with buggers!

0
0
0

@TartanLlama @nostarch Should be a spider on the cover, they are great debuggers.
But I suspect the cat will lead to better sales.

0
0
0

vitaut 🀍❀️🀍 πŸ‡ΊπŸ‡¦

@TartanLlama DWARF cat

1
0
0

@vitaut @TartanLlama what does the cat coming out of the shoulder do, is it a familiar? πŸ˜…

1
0
0

vitaut 🀍❀️🀍 πŸ‡ΊπŸ‡¦

@henrahmagix @TartanLlama AI knows that more cats is always better

0
0
1

@TartanLlama Actually come to think of it a photo of a momma cat carrying a kitten might be thematically appropriate for this book

0
0
0

@schmerg @nostarch could be! I'm not familiar with the inner workings of the VS debugger, I'm more familiar with GDB and LLDB, and the book focuses on the kinds of things that those tools do

0
0
0
@TartanLlama Does @nostarch have affiliate links? Wouldn't want to short you on extra income when I pre-order it. :-)
1
0
0