I am following up from an issue a VS Code user encountered a while back with Intel Fortran compilers on Windows and Debugging. Essentially, the problem faced was that there was no suitable Expression Evaluator for Intel compilers on Windows. Therefore, the Debug Adaptor cppvsdbg
(closed-source and IP owned my Microsoft) is not capable of resolving the symbols from the object file.
This ultimately means that code compiled with Intel compilers cannot be debugged in VS Code on Windows.
I was wondering if someone from Intel could share some thoughts on this. Is Intel aware of this limitation? Would Intel consider implementing such feature for VS Code? Are there any workarounds you can suggest for your Windows users?
I think this is quite an important feature to have since:
- Intel compilers are now free to use, thus making it an excellent alternative for Windows users that don’t want to figure out how to install
gfortran
- VS Code in Fortran already has a pretty big user base in our community see:
and
- Linting from
ifort
/ifx
is already support in VS Code and Walkthroughs on how to setup the Intel compilers will be included in the future - I don’t have any plans on writing a Visual Studio extension for Fortran to support the Language Server Protocol. So Windows users that want Fortran LSP support will either have to stick to VS2019, switch to VS Code and lose debugging capabilities or move to a different code editor for development with LSP and still use VS for debugging (maybe there is another solution that I am unaware off).
- C/C++ vscode extension issue: Symbols are unavailable in some Intel Fortran code. · Issue #8479 · microsoft/vscode-cpptools · GitHub
- Parent issue on Modern Fortran vscode extension: Fortran variables are sometimes not accessible · Issue #310 · fortran-lang/vscode-fortran-support · GitHub
PS If you would rather have this conversation in private, for whatever reason, please PM me or send me an email at gnikit@duck.com