User forums > Using Code::Blocks

Boost assertions closes the debugger

<< < (9/10) > >>

zabzonk:
@ThundThund

It's a "feature" of the Windows implementation of the GDB debugger, and nothing to do with CB, so I wouldn't wait around here for a fix. The Windows version of GDB seems incapable of handling raise(SIGABRT), which is what is happening underneath all this. And I wouldn't expect this to be fixed any time soon, if ever.

Basically, GDB is a piss-poor debugger on Windows, and nothing the CB devs can do will alter that. Personally, I very, very rarely use a debugger of any sort, but if I did I would use Visual C++, which has an outstanding debugger.

oBFusCATed:
I'll post a message in this thread, if I can fix it.

oBFusCATed:

--- Quote from: Neil Butterworth on November 03, 2011, 08:00:15 pm ---It's a "feature" of the Windows implementation of the GDB debugger...

--- End quote ---
Are you 100% sure, could it be that the mingw standard lib is broken. Or there is a setting which should be enabled.

zabzonk:
No, I'm not 100% sure. I have run some tests using command line GDB,  and I have done some googling which failed to come up with any magic settings. SIGABRT is caught by default on Linux, and is definitely not caught by default on Windows. I've tried using the "handle" command to change how the signal is handled in GDB, but that seems to make no difference. This really wants input from a GDB-on-Windows expert.

I am 100% sure that GDB is a poor Windows debugger, however. Particularly compared with the one that comes with VC++.

oBFusCATed:

--- Quote from: Neil Butterworth on November 03, 2011, 08:14:17 pm ---I am 100% sure that GDB is a poor Windows debugger, however. Particularly compared with the one that comes with VC++.

--- End quote ---
This can be said for almost any other debugger, because VStudio's debugger is close to the best debugger.
And on windows it is the native one and gdb doesn't use the MS's symbols, but the GNU symbols format, so most of the time GDB is working without symbols.
BTW there are no signals on windows, as far as I know.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version