Dear Siroos,

You can setup your debugging environment for example using VS Code, 
https://code.visualstudio.com<https://code.visualstudio.com/>.

For that, you will need to create a folder called .vscode in the folder, where 
the executable is located (remember to compile it with the -g option which 
allows for debugging). Then, place the files launch.json and tasks.json there; 
see example files attached.

Now when you start VS Code by typing "code ." in the folder with the executable 
you can compile your module using Terminal->Run Build Task, and debug it by 
clicking the Run & Debug button in the left side bar.

Best regards,
Nikolai



From: DuMux <[email protected]> On Behalf Of Siroos 
Azizmohammadi
Sent: Thursday, September 30, 2021 12:37
To: [email protected]
Subject: [DuMux] How to setup dumux in an IDE?

Hello,

As I am quite new in dumux and Linux too, I was wondering if there are any 
instructions to setup/compile dumux in Qt, Eclipse, or any other IDEs.


Best regards,

_____________________________

Siroos Azizmohammadi<https://dpe.ac.at/people/siroos-azizmohammadi/>, PhD

Senior Lecturer

Chair of Reservoir Engineering<http://dpe.ac.at/chairs/reservoir-engineering/>

Department of Petroleum Engineering<http://www.dpe.ac.at>

Montanuniversität Leoben<http://www.unileoben.ac.at>

Parkstrasse 27, A-8700 Leoben, Austria

Mobile: +43 676 59 238 99

Office:  +43 3842 402 3022

Fax:     +43 3842 402 3002

Email:  
[email protected]<mailto:[email protected]>

[https://lh5.googleusercontent.com/rF98slMkRehhMBqB6cEtItNtW4uYPb7Fyxc_s6_n2dFW39qommO1B2CkZp6XcmzHUuA2wr03FZps4Cwlh83rIh9T1CSll7_SfV8g50COaIjzQk3dIXmBNLzmO721FWLVxxAt46zq]

Attachment: launch.json
Description: launch.json

Attachment: tasks.json
Description: tasks.json

_______________________________________________
DuMux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to