News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

SIGTRAP

Started by MoonKid, November 21, 2008, 07:47:14 PM

Previous topic - Next topic

MoonKid

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.

MortenMacFly

You can try to disable the "Catch C++ exceptions" option in the settings of the Debugger.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

MoonKid

Quote from: MortenMacFly on November 21, 2008, 08:36:52 PMdisable 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.

Jenna

Quote from: MoonKid on November 21, 2008, 10:49:04 PM
Quote from: MortenMacFly on November 21, 2008, 08:36:52 PMdisable 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".

MoonKid

Quote from: jens on November 21, 2008, 11:01:29 PMIf 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?

MoonKid

Quote from: MoonKid on November 22, 2008, 09:31:13 AMDo 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.

MoonKid

The option is there but has no effect.

But the debuger log now is more detailed. Maye this help?
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