Dear all, I am trying to debug a telemac2d model, for which I would like to setup break points and review variable values. I am using a workflow as below with debugger gdbgui:
1 compile the source code with -g flag (see attached configuration file v7p2r3)
2 run the model with the debug configuration file using python file runcode.py. Kill the model run once the time stamped run folder is created, so all custom compilation and file copy processes are completed
3 launch gdbgui and feed the executable (e.g. out_telemac.exe) to gdbgui
4 try to setup break point - I am stuck here. It keeps telling me It cannot find source file.
Could anyone kindly comment on this workflow? There should be a more elegant workflow. Could you please share your debug toolchain?
Any inputs are greatly appreciated!
Hailiang