This is what I found the most effective way to debug.
- Read the description of the bug carefully.
- Write the tasks needed, on a piece of paper.
- Go to nearest food stall or restaurant.
- Treat yourself some good meals and nice coffee.
- Enjoy the view of your office and relax.
- Sit down in a sofa.
- Start gathering the logs and info needed from ANY source.
- Start exploring the logs or profiling.
- Find the damn root cause. If not found go back to 4.
- Fix them once and for all.
Any other methods? Let me know.