Questions tagged [debugging]
Debugging is the process of examining the state of a program - generally with a debugging tool - while it is running and attempting to find bugs that cause it to behave abnormally.
254 questions
58
votes
12
answers
7k
views
How to test the tests?
We test our code to make it more correct (actually, less likely to be incorrect). However, the tests are also code -- they can also contain errors. And if your tests are buggy, they hardly make your ...
35
votes
8
answers
36k
views
How to most effectively debug code? [closed]
Bugs creeping into code can be minimized, but not entirely eliminated as it is written - programmers are, although many would disagree, only humans.
When we do detect an error in our code, what can ...
4
votes
4
answers
227
views
Debugging applications
In my current developement, I have decided to keep the command prompt open so I can see debug messages. For example, if something wasn't happening when it should, I would put a cout statement at every ...
26
votes
10
answers
2k
views
Why do new programmers seem to ignore compiler error messages/runtime exception messages? [closed]
I think we’ve all seen this. Beginners ask questions on Stack Overflow that follow the basic outline...
I’m trying to do (very vague description of the goal) but it doesn’t work/I get an error/...