Skip to content

Support for Debugging Neko Simulations in VS Code #1638

Answered by timfelle
SachinBM-CE asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, Yes I have indeed dabbled a bit in this.

Extensions (I think these are enough, its been a while):

  • fortran-lang.linter-gfortran
  • ms-vscode.cpptools

An example of a launch.json is given below.
I would suggest you look into the "preLaunchTask" which would go into a tasks.json if you want to compile the code before the debug is launched.

I have done so, however, I am not working directly on neko but through an extension library for Topology Optimization, hence the build system is quite different from Neko itself.

But the gist of the preLaunchTask is to define something like the second dropdown, where you do your general setup of Neko. And then also run the "makeneko" script for the speci…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by SachinBM-CE
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #1635 on December 14, 2024 10:54.