fortran-plugin
fortran-plugin copied to clipboard
Does not stop at breakpoint
Clion does not stop at breakpoint during debug run. (Ubuntu 22.04, CLion 2022.3.3, fortran-plugin 2022.3)
I need some additional details. I tried it in the latest version of CLion and breakpoint worked for me. There were no changes in this part, only support for the new IDE version so I don't think that I will be abe to reproduce it in the previous CLion version
The code has been built with the '-g' option (make FFLAGS=-g). A breakpoint is set in the main program. Then a debug will be started -> does not stop at the breakpoint.
@dikleins Is it a cmake configuration, autotools or something else? I think most tests are done around cmake and there I can use the breakpoints (with cmake handling the flags). Can you provide a mwe for how it fails on your side?
This is a Makefile project. The source code is located outside of the build path (VPATH = ../../src).
Hmm, can you share a small mwe for that?
mwe??? I don't understand what you want me to share.
Sorry, Minimum Working Example. Just confirm what Makefile causes that with a program file like:
program hello
print *, 'Hello, World!'
end program hello
Well, I cannot reproduce the problem I have with the other project. I think the Makefile Configuration of that project is not correct.
Don't know if it is helpful, but there are some problems with jumping from one language to another where the breakpoint becomes misaligned. It still breaks at the correct part, it just reports it in the wrong place.