The Phantom Bug on Mars

Debugging an application running on a different machine—be it a test server, a virtual machine, or a client’s environment—has historically been a challenge. With , Microsoft provides a powerful solution: the Remote Debugger . This tool allows you to attach your full-featured Visual Studio IDE to a process running on another machine, letting you use breakpoints, inspect variables, and step through code as if the application were running locally.

Remote debugging - Visual Studio (Windows) | Microsoft Learn

The Perseverance-II rover, affectionately nicknamed "Percy," had stopped responding. Its telemetry showed all systems nominal—power, thermal, actuators—but its core navigation loop was stuck in an infinite, silent limbo. The code worked perfectly in the JPL simulation lab. But on Mars, 140 million miles away, it was blind and paralyzed.