1 |
On 11/20/05, Michael Sullivan <michael@××××××××××××.com> wrote: |
2 |
> I copied my code into a KDevelop project and built it. I then placed a |
3 |
> breakpoint on "int main (int argv, char** argc) and selected Start from |
4 |
> the Debug menu. It immediately gave me a dialog that said "Program |
5 |
> received SIGABRT. Aborted." It did not tell me where my Segfault came |
6 |
> from. Is there a way to get it to tell me, or at least allow me to step |
7 |
> through my program without instantly shutting down? |
8 |
|
9 |
That is very strange. Did you build your program with the '-g' |
10 |
(debug) option to gcc? |
11 |
|
12 |
Also try "strace -s256 <programname>". It will give you an idea of |
13 |
what system calls your program is making at the time of the segfault, |
14 |
and maybe give you a starting point of where to look in the code. |
15 |
|
16 |
-Richard |
17 |
|
18 |
|
19 |
> |
20 |
> -- |
21 |
> gentoo-user@g.o mailing list |
22 |
> |
23 |
> |
24 |
|
25 |
-- |
26 |
gentoo-user@g.o mailing list |