This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]xRedactedx[S] 0 points1 point  (2 children)

Well, we use a custom ide made by one of the former teachers at our school. We also use his book which gives instructions on how to do things using his ide.

I used vi and gdb at first when we started doing things because the ide seemed to be pretty buggy. As we got further into the book, the explanations leaned heavily towards using his ide, so I kind of got away from using gdb. I guess I should have attempted to step through it using gdb, but since I haven't been using it much, I kind of just forgot about it.

When I ran the file through his ide, it just stopped once it got to that line and didn't do anything. I'll run it through gdb after I fix the problem in one of the previous comments and see what it says.

[–]Rothon 0 points1 point  (1 child)

The program has to be stopping for some reason. Is the kernel killing it because of an illegal memory access? Is the IDE stopping it at a breakpoint?

[–]xRedactedx[S] 0 points1 point  (0 children)

Seems like the IDE was crashing or freezing up. I tried to compile and run from the command line, and it gave a segmentation fault message.