Skip to content

bug: modern fortran extension doesn't let me step into subroutines #1210

Open
@charlesgauthier1743

Description

@charlesgauthier1743

Is there an existing issue for this?

  • I have searched the existing issues

I have tried the Pre-Release of the extension.

  • I have replicated the Issue in the latest Pre-Release

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions