There is a different approach to fixing these issues, rather than just using a C debugger.