-2

So, recently i bought a laptop that I'm gonna use to learn more about linux and i want to make my programs for uni there. My problem is that everything works, except debugger, which doesn't stop at breakpooints at all.

2

1 Answer 1

0

Using information from this answer, here's a list of things you may do to resolve this issue.

  • Clean and rebuild.
  • Ensure that (Build Options > Compiler Settings) "Produce debugging symbols" is checked, "Strip all symbols" is unchecked. Please ensure this is done in global settings and project settings. This fixed it for me.
  • Check so that there are no spaces/non-ASCII values in the project file path.
  • Check if you are running the debug version, not release. The executable from Release build will be ../bin/Release, and the executable from a Debug build will be in ../bin/Debug.
  • Check that Debugger in (Settings > Compiler > Toolchain Executables) is set to GDB/CDB Debugger:Default.
  • Update Code::Blocks (last resort).
Sign up to request clarification or add additional context in comments.

2 Comments

i have tried this, the problem remains. "warning gdb failed to set controlling terminal operation not permitted" this is the message i get.
@GPwoopzi Can you make a screenshot of the terminal window or where ever you got the message?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.