I recently shifted from Linux to windows and started using sublime text for competitive programming. The problem is that in Linux I used to get a segmentation fault. But in windows, I am getting some garbage value instead. So, how do I detect runtime errors in my code?