views:

213

answers:

1

Hi,

While running, my program often stops because of a SIGTRAP. I know, that a SIGTRAP is happening when the compiler finds a breakpoint in the program. But i don't have any breakpoint in my code. (To be sure about it, before the execution, i cleared all the breakpoints..).

I'm using Code::Blocks..

Thanks !

+2  A: 

Are you running the program from the debugger?

It is possible when your binary built with debugging in not up-to-date in regard to source code.

Rebuild everything and try again.

It happened to me many times.

yes that's the case, but rebuilding everything didn't resolve the problem..
Amokrane