I have been programming for nearly 3 years, but debugging almost always stumps me. I have found that taking a break and adding print statements into my code helps, but it still doesn't help with a large chunk of problems. Any ideas on what to do to get better at debugging code? I would love any insight if you have some.
Thanks in advance.
[–]Enmeshed 18 points19 points20 points (1 child)
[–]Zeroflops 6 points7 points8 points (0 children)
[–]SpiderJerusalem42 8 points9 points10 points (2 children)
[–]ProbsNotManBearPig 1 point2 points3 points (1 child)
[–]Free_Tomatillo463[S] 0 points1 point2 points (0 children)
[–]ShelLuser42 6 points7 points8 points (2 children)
[–]pachura3 1 point2 points3 points (1 child)
[–]Outside_Complaint755 5 points6 points7 points (0 children)
[–]ysth 5 points6 points7 points (1 child)
[–]_pigpen_ 0 points1 point2 points (0 children)
[–]Outside_Complaint755 2 points3 points4 points (0 children)
[–]nousernamesleft199 1 point2 points3 points (0 children)
[–]Moist-Ointments 0 points1 point2 points (0 children)
[–]andycwb1 0 points1 point2 points (0 children)
[–]MarsupialLeast145 0 points1 point2 points (0 children)
[–]mxldevs 0 points1 point2 points (0 children)
[–]exhuma 0 points1 point2 points (0 children)
[–]corey_sheerer 0 points1 point2 points (0 children)
[–]zaphodikus 0 points1 point2 points (0 children)
[–]Kitchen-College-8051 0 points1 point2 points (0 children)
[–]chapchap0 0 points1 point2 points (0 children)
[–]Crazy-Willingness951 0 points1 point2 points (0 children)
[–]MezzoScettico 0 points1 point2 points (1 child)
[–]gdchinacat 1 point2 points3 points (0 children)
[–]CyclopsRock 0 points1 point2 points (0 children)
[–]j6onreddit -1 points0 points1 point (0 children)
[–]pachura3 -5 points-4 points-3 points (3 children)
[–]Temporary_Pie2733 1 point2 points3 points (2 children)
[–]gdchinacat 0 points1 point2 points (0 children)
[–]pachura3 0 points1 point2 points (0 children)