Clion Debugger not working


Hi, when I hit the debugger in clion it just runs the program as if I would hit run, it ignores the breakpoints Ive set.

I am using the newest version, OS is Ubuntu.

评论操作 固定链接


Please create a default "Hello, World!" project (`File | New Project` > `C++ Executable` > `Create`)  and check whether debugging works in it.

评论操作 固定链接

It does that flawlessly!

I am using C instead of C++ btw, but with c Executable it also works.

I copied my code over to new project and its fine, so I am unsure where this problem came from, thanks though