Show HN: A partial HTTP server written in brainfuck extended with syscalls 10 years ago
I recently learned you can do a similar thing with C/C++ too. Programmatically raise a SIGINT when running under gdb, and gdb will intercept that signal, at which point you can step through the code.