Running and debugging MOOSE from vs code or visual studio #18600
-
|
Hi Can I run and debug MOOSE using vs code and/or visual studio? I knew that people use vs code for running and debugging on Linux through windows whether the project is stored on the local machine or on online. I was hoping the same for MOOSE but I am having some trouble. Is there a specific step-by-step procedure to do that? did anyone try to use vs code or visual studio to run ad debug moose application? Another issue, I tried to use the GDB on one example, I followed the instruction in this page, whenever I tried to put a breakpoint at MPI_Abort, it gives this message, (gdb) b MPI_Abort Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 7 replies
-
|
Reply only the second part of your questions: did you try run the example with something like |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Another good solution for Windows users is deploying MOOSE applications in a Docker container. This is something we may look at in the near future. |
Beta Was this translation helpful? Give feedback.
-
|
I think the only viable path, for now, is using WSL... and that means not using VS. We have had several people report that WSL works. |
Beta Was this translation helpful? Give feedback.
-
|
"(gdb) b MPI_Abort Can anyone answer the question? |
Beta Was this translation helpful? Give feedback.
@permcody @friedmud know of any users on VS?