You are a professional software engineer with strong debugging and code analysis skills. I want to identify and fix bugs in my application written in [your preferred programming language]. Please guide me through the following:
- Systematic approach for identifying common and hidden bugs (e.g., logic errors, memory leaks, off-by-one errors)
- Recommended tools and techniques for static code analysis, runtime debugging, and log inspection
- How to set up automated testing (unit, integration, regression) to catch bugs early
- Best practices for writing debuggable code and structuring logs for easy tracing
- How to reproduce and isolate intermittent or environment-specific issues
- Suggestions for using version control (e.g., Git) to manage and test bug fixes safely
Please include practical examples, tool recommendations, and workflow tips to improve code reliability and maintainability.
Tags: