Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: MoonKid on November 21, 2008, 07:47:14 pm

Title: SIGTRAP
Post by: MoonKid on November 21, 2008, 07:47:14 pm
My debuger (gdb) interupts not only on breakpoints.

It interupt many times with that message:

Continuing...
Program received signal SIGTRAP, Trace/breakpoint trap.
In _libkernel32_a_iname () ()

It is very frustrating because I need to say "continue" to the debuger over 30 times to reach my own breakpoint.
Title: Re: SIGTRAP
Post by: MortenMacFly on November 21, 2008, 08:36:52 pm
You can try to disable the "Catch C++ exceptions" option in the settings of the Debugger.
Title: Re: SIGTRAP
Post by: MoonKid on November 21, 2008, 10:49:04 pm
disable the "Catch C++ exceptions" option in the settings of the Debugger.

Hm... I didn't found that or any other option like that somewhere in Code::Blocks.
Title: Re: SIGTRAP
Post by: Jenna on November 21, 2008, 11:01:29 pm
disable the "Catch C++ exceptions" option in the settings of the Debugger.

Hm... I didn't found that or any other option like that somewhere in Code::Blocks.
If your C::B is r5018 or newer you find it in: "Settings -> Compiler and debugger... -> Debugger settings".
Title: Re: SIGTRAP
Post by: MoonKid on November 22, 2008, 09:31:13 am
If your C::B is r5018 or newer you find it in: "Settings -> Compiler and debugger... -> Debugger settings".

Ok, thank you. I only have the latest official release 8.02. I think it is to old.

Sometimes I tried to build C::B by myself but it didn't work. ;)

Do you know a HOWTO build C::B (on Win32) or something like that?
Title: Re: SIGTRAP
Post by: MoonKid on November 22, 2008, 11:28:55 am
Do you know a HOWTO build C::B (on Win32) or something like that?

Ah, I found it in the wiki. And now the option is still there.
Title: Re: SIGTRAP
Post by: MoonKid on November 23, 2008, 06:43:41 pm
The option is there but has no effect.

But the debuger log now is more detailed. Maye this help?
Code
Program received signal SIGTRAP, Trace/breakpoint trap.
In _libkernel32_a_iname () ()
At C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/ext/new_allocator.h:86