Determine the line of C code that causes a segmentation fault?
Posted
by gcc
on Stack Overflow
See other posts from Stack Overflow
or by gcc
Published on 2010-05-20T17:39:29Z
Indexed on
2010/05/21
10:00 UTC
Read the original article
Hit count: 156
How do we determine where the mistake is in our code that causes a segmentation fault?
After writing some code, to determine where I have a segmentation fault, can gcc show me my have a mistake (or typing error) in a particular line number -- because that line caused the segmentation fault?
© Stack Overflow or respective owner