To put this in context, I have the following scenario. I am writing a Common Lisp program that works with strings and lists of characters.
In a certain function foo, the value of a variable suff is a ...

For comparison, for a runtime fatal error, it is often that the cause of the error is way before the error crashes a program.
For a logic error, it doesn't crash a program. It happens when the state ...

We are designing an error-handling framework for a cryptographic library written in C.
The approach we are taking is that relatively few errors are propagated back to the user since on most occasions ...

The question is how to cope with absence of variable declaration in Python, PHP, and the like.
In most languages there is a way to let the compiler know whether I introduce a new variable or refer to ...

To give you a little background: I work for a company with roughly twelve Ruby on Rails developers (+/- interns). Remote work is common. Our product is made out of two parts: a rather fat core, and ...

I ran into an unusual error while working on my project. To better learn from and remember it, I'd like to know if this type of error has a name or some definition. (The error itself OutOfMemoryError ...

What is the term for an error or bug that exhibits itself on computers with certain environments/setups only?
Context: We have produced our own anti-piracy software. We distribute applications that ...

I am beginner in algorithms. Last year I participated in Google Code Jam. One of the major issues I faced during the competition was my code was working fine on my test cases, but when I submitted on ...

I've written an API which can be configured to signal errors in different ways (return values, debugging messages, or exceptions). I've got a check in place when the API is first initialized to see ...

There has been a story in the news about a man whose Paypal account was accidentally credited with $92,233,720,368,547,800.
Where does this number come from? What sort of programming bug is likely to ...

The very simple piece of C++ code below is incorrect, it's easy to see why and tools like Valgrind will tell you. In running several C++ codes containing this kind of error, I noticed that each time, ...

Why is nesting or piggybacking errors within errors bad in general?
To me it seems bad intuitively, but I'm suspicious in that I cannot adequately articulate why it is bad. This may be because it is ...

I'm kind of inexperienced with programming (ie less than a year) and I have recently been getting discouraged, mostly from not being able to solve problems with my own code (Not forgetting parentheses ...

It continue to astounds me that, in this day and age, products that have years of use under their belt, built by teams of professionals, still to this day - fail to provide helpful error messages to ...

For my final year project, I'm working on a script that will run your python program and provide a time line of events(so far working on assignments) and create a story of what happened(the changes in ...

The question of managing bugs in production has been a large feature in my mind of late. Sprint's are not meant to have any items added into them, but for critical bugs, this is simply unavoidable.
...

Introduction
If an error occurs on a website or system, it is of course useful to log it, and show the user a polite message with a reference code for the error.
And if you have lots of systems, you ...

Java's checked exceptions have gotten some bad press over the years. A telling sign is that it's literally the only language in the world that has them (not even other JVM languages like Groovy and ...