Depends on the each situation. As a programmer, I think each time your come across a bug, investigation is should be done before giving any answer. Sometimes it is as easy putting a breakpoint in the suspected section of code and figuring out the problem.
Other times, much harder. Consider a case with many 3rd party components are running and a memory exception happens and all you have is a memory address at the point of crash. This case requires crash dumps and using some low level tools to figure out which exe or dll the memory address resides in. Other posters have pointed out similiar examples of these type of scenarios.
I donât think it is always your fault as a programmer, especially in todayâs age of large and numerous frameworks.
I think it is better to say: We as developers should always assume responsibility to find a solution to the problem/bug. And then if it is your fault saying, âI made a mistake, its my fault.â Donât assume anything, test, debug, and explore to find the root of the problem.
Everyone makes mistakes, thatâs why there should be lots of QA on your product/code.