"Hey guys, just had a brutal session trying to debug this C++ program and I'm at my wit's end. I'm getting crashes left and right, but the issue is weird - it happens on certain inputs but not others. Any C++ wizards out there have a magic solution?"