Step into subroutines using Intel GDB #1216
Unanswered
charlesgauthier1743
asked this question in
Q&A - deprecated see Fortran Discourse
Replies: 1 comment 1 reply
-
Hmm, I have just realized that I can’t step into the subroutines with “gdb” itself either. So, it has nothing to do with the “Modern Fortran” extension. My bad. But, if I use the Intel debugger “gdb-oneapi”, then I can step into the subroutines. Any advice on what i can do to make it work? Can you use “gdb-oneapi” with “Modern Fortran” extension? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there an existing issue for this?
I have tried the Pre-Release of the extension.
Description
I am trying to debug a very large legacy code base with mostly fortran77 code (with some f90 and C/C++).
It’s being run under linux wsl2. Compiler is Intel 2024, so it’s ifx for fortran.
Whenever I want to “step into” a subroutine, it won’t let me, it just steps over.
If i put a breakpoint in the subroutine, then it will stop there.
Intellisense works just fine. I can get the subroutine definition with a right-click.
Any idea what is wrong?
Screenshots
No response
Expected Behaviour
When you press F11, it should step into the subroutine, not step over it.
Version of Modern Fortran
v3.2.0
Version of Visual Studio Code
v1.100.2
Platform and Architecture
Linux WSL2
Additional Information
No response
Beta Was this translation helpful? Give feedback.
All reactions