User forums > Using Code::Blocks

Debugger fails (Win7 64, mingw 8.1)

<< < (2/2)

stahta01:
You did check the link command for strip "-s" commands, correct?

Tim S.

nji:
(No, there is no "-s" when linking, should it?)

One step further:

Someone was so kind to try for me.
He had mingw 8.1 installed but not CB.
He installed CB and the debugger worked fine!

So I thought it must be something with MY CB config.
Although I surely did not fiddle around with that
when installing CB 20.03 (bundled with mingw).

Nevertheless I did
Settings / Debugger / Reset defaults.
When I click on it, always a message pops up
(see attachment).
But after that...tah-tah...

Debugging works!

Maybe it's not worth investigating what has happened.
But maybe that error message is of some interest (although I don't mind).

oBFusCATed:
The assert is fixed in trunk/master. Thanks for reporting.

BlueHazzard:

--- Quote from: nji on July 04, 2020, 01:30:59 pm ---Is there a connection to this?
http://forums.codeblocks.org/index.php/topic,23910.msg163121.html#msg163121

Although I don't understand what is meant there.

Where is the wrong version?
It says 8.1
???

--- End quote ---

Probably not. In this case gdb crashed. GDB Version 8.1.0 is known for crashing in some cases. Has nothing to do with codeblocks.


--- Quote from: nji on July 05, 2020, 10:29:24 am ---Debugging works!

--- End quote ---
Good to hear. The next time you have a debugging problem, please enable full debug logging in
Settings->Debugger->Genera->Full log

and then post the content of the "Debug Log" tab here in the forum. And please use code tags for the log (The # symbol in the editor) so we can help you better...

Navigation

[0] Message Index

[*] Previous page

Go to full version