Whenever I get a Segmentation Fault
error, I know that somewhere I am accessing memory that "does not belong to me".
In some nonobvious cases, I have to rely on debugging tools such as a profiler (Valgrind for example).
Unfortunately, during runtime, I only get the following error message:
Segmentation Fault
And nothing else. My question is:
Why doesn't the program give more info about the error during runtime?
Ps: This is not a question on why segmentation fault errors happen: I understand why.