No Output -> "Modern Fortran" option

Hey,

my Modern Fortran VsCode Extension was working some weeks ago. But I dont know why it stopped working.
First of all I have Modern Fortran and C/C++ extensions installed.
But as you can see in the screenshot, if I go to “output” there is no option for Modern Fortran.
Does anyone know why that’s the case? Without it I can not debug whats wrong.
Syntax highlighting works but I can not jump through modules or functions, which is much needed.

VsCode: 1.91.1

I think it’s due to the following memory error from output → Extension Host (Remote)

2024-07-30 13:44:53.654 [error] Activating extension ms-vscode.cpptools failed due to an error:

2024-07-30 13:44:53.654 [error] RangeError: WebAssembly.Instance(): Out of memory: Cannot allocate Wasm memory for new instance

at 1298 (/hpc/uhome/mdeberts/.vscode-server/extensions/ms-vscode.cpptools-1.21.4-linux-x64/dist/src/main.js:28534:22)

at webpack_require (/hpc/uhome/mdeberts/.vscode-server/extensions/ms-vscode.cpptools-1.21.4-linux-x64/dist/src/main.js:116162:42)

at 6278 (/hpc/uhome/mdeberts/.vscode-server/extensions/ms-vscode.cpptools-1.21.4-linux-x64/dist/src/main.js:40823:16)

at webpack_require (/hpc/uhome/mdeberts/.vscode-server/extensions/ms-vscode.cpptools-1.21.4-linux-x64/dist/src/main.js:116162:42)

at 2277 (/hpc/uhome/mdeberts/.vscode-server/extensions/ms-vscode.cpptools-1.21.4-linux-x64/dist/src/main.js:83848:22)

at webpack_require (/hpc/uhome/mdeberts/.vscode-server/extensions/ms-vscode.cpptools-1.21.4-linux-x64/dist/src/main.js:116162:42)

at 1817 (/hpc/uhome/mdeberts/.vscode-server/extensions/ms-vscode.cpptools-1.21.4-linux-x64/dist/src/main.js:72989:20)

at webpack_require (/hpc/uhome/mdeberts/.vscode-server/extensions/ms-vscode.cpptools-1.21.4-linux-x64/dist/src/main.js:116162:42)

at /hpc/uhome/mdeberts/.vscode-server/extensions/ms-vscode.cpptools-1.21.4-linux-x64/dist/src/main.js:116187:27

at /hpc/uhome/mdeberts/.vscode-server/extensions/ms-vscode.cpptools-1.21.4-linux-x64/dist/src/main.js:116459:3

at Object. (/hpc/uhome/mdeberts/.vscode-server/extensions/ms-vscode.cpptools-1.21.4-linux-x64/dist/src/main.js:116462:12)

at Module._compile (node:internal/modules/cjs/loader:1376:14)

at Module._extensions…js (node:internal/modules/cjs/loader:1435:10)

at Module.load (node:internal/modules/cjs/loader:1207:32)

at Module._load (node:internal/modules/cjs/loader:1023:12)

at S._load (/hpc/uhome/mdeberts/.vscode-server/cli/servers/Stable-f1e16e1e6214d7c44d078b1f0607b2388f29d729/server/out/vs/workbench/api/node/extensionHostProcess.js:179:6035)

at n._load (/hpc/uhome/mdeberts/.vscode-server/cli/servers/Stable-f1e16e1e6214d7c44d078b1f0607b2388f29d729/server/out/vs/workbench/api/node/extensionHostProcess.js:176:31788)

at i._load (/hpc/uhome/mdeberts/.vscode-server/cli/servers/Stable-f1e16e1e6214d7c44d078b1f0607b2388f29d729/server/out/vs/workbench/api/node/extensionHostProcess.js:141:34301)

at Module.require (node:internal/modules/cjs/loader:1235:19)

at require (node:internal/modules/helpers:176:18)

at Function.i [as __$__nodeRequire] (/hpc/uhome/mdeberts/.vscode-server/cli/servers/Stable-f1e16e1e6214d7c44d078b1f0607b2388f29d729/server/out/vs/loader.js:5:98)

at m.xb (/hpc/uhome/mdeberts/.vscode-server/cli/servers/Stable-f1e16e1e6214d7c44d078b1f0607b2388f29d729/server/out/vs/workbench/api/node/extensionHostProcess.js:176:32967)

at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

at async Promise.all (index 0)

From this I can tell that you run out of RAM in your instance. Other than allocating/requesting/installing more memory or killing a memory hungry process job that’s running there’s not much else you can do.

Ok thanks for the fast reply, I will get in touch with the admins of the hpc system.
At least I can stop trying to install / reinstall other versions etc. thank you!

It turned out to be a bug of the C/C++ extensions which Modern Fortran uses as a dependency.
I reported the bug and they resolved it (update to C/C++ 1.21.6)

Both C/C++ and Modern Fortran extension do work again.