赞
踩
python -m pip install fortran-language-server
setting搜索break,把Allow Breakpoints Everywhere打开,即可打断点。
program main
write(*,*) 'hello, world!'
end program
{
"version": "0.0.1",
"command": "ifort",
"args": [
"-g",
"${file}",
"-o",
"${workspaceRoot}/${fileBasenameNoExtension}.exe"
]
}
{ "version": "0.0.1", "configurations": [ { "name": "Fortran Launch (GDB)", "type": "cppdbg", "request": "launch", "targetArchitecture": "x86", "program": "${workspaceRoot}\\${fileBasenameNoExtension}.exe", "miDebuggerPath": "/usr/bin/gdb", "args": [], "stopAtEntry": false, "cwd": "${workspaceRoot}", "externalConsole": true, "preLaunchTask": "ifort" }, { "name": "Intel Debug Attach", "type": "cppvsdbg", "request": "attach", "processId": "${command:pickProcess}" } ] }
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。