Today I learned: "PuTTY is a Win32 Telnet and SSH client. The SSH protocol code contains real-life use of this coroutine trick. As far as I know, this is the worst piece of C hackery ever seen in serious production code."
It's beautiful and incredibly scary at the same time.
* - right-click ssh.c in the FileView
* - click Settings
* - select the C/C++ tab and the General category
* - under `Debug info:', select anything _other_ than `Program
* Database for Edit and Continue'.
Right, so in order to compile the thing you need to click "something other than". That doesn't sound deterministic.That said, I can't believe this exists in the wild.