Skip to content

ekibun/FortranBreaker

Repository files navigation

Fortran Breakpoint Support

Add breakpoint support for fortran

Features

feature X

Requirements

  • Gimly81.fortran or krvajalm.linter-gfortran
  • ms-vscode.cpptools

Usage

  • Install MINGW-W64 (or other debugger) and all above extensions
  • Add .vscode/launch.json to project. An example:
{
    "version": "0.0.1",
    "configurations": [
        {
            "name": "Fortran Launch (GDB)",
            "type": "cppdbg",
            "request": "launch",
            "targetArchitecture": "x86",
            "program": "${workspaceRoot}\\${fileBasenameNoExtension}.exe",
            "miDebuggerPath": "gdb.exe",
            "args": [],
            "stopAtEntry": false,
            "cwd": "${workspaceRoot}",
            "externalConsole": true,
            "preLaunchTask": "gfortran"
        },
        {
            "name": "Intel Debug Attach",
            "type": "cppvsdbg",
            "request": "attach",
            "processId": "${command:pickProcess}"
        }
    ]
}
  • Add a build command to tasks.json. An example:
{
    "version": "0.0.1",
    "command": "gfortran",
    "args": [
        "-g",
        "${file}",
        "-o",
        "${workspaceRoot}\\${fileBasenameNoExtension}.exe"
    ]
}

Release Notes

0.0.4

Enable breakpoints for MSVC and support for krvajalm.linter-gfortran by emanspeaks

0.0.3

Enable breakpoints for Fortran - Modern by letmaik

0.0.2

Add icon and usage

0.0.1

Initial release

Releases

No releases published

Packages

No packages published