Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ekibun/fortranbreaker

visual studio code extension for fortran breakpoint support
https://github.com/ekibun/fortranbreaker

Last synced: about 1 month ago
JSON representation

visual studio code extension for fortran breakpoint support

Awesome Lists containing this project

README

        

# Fortran Breakpoint Support

Add breakpoint support for fortran

## Features

![feature X](https://github.com/ekibun/FortranBreaker/blob/master/screenshot.png?raw=true)

## 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:

```json
{
"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:

```json
{
"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](https://github.com/emanspeaks)

### 0.0.3

Enable breakpoints for Fortran - Modern by [letmaik](https://github.com/letmaik)

### 0.0.2

Add icon and usage

### 0.0.1

Initial release