how to set cwd by relative path such as "./" when use cpptools
"./" not work(can not find program), :program and cwd both used relative path,
Could you give a bit more context?
Is the use of the relative path can not find the program, can determine whether to use the relative path, and according to the cwd splice it, each time the input absolute path is very long, and cwd can be set through the variable, similar to ${workspaceFolder}, or leave an interface can customize the method of obtaining the root path
It is command-cwd + :program which cppdbg uses to construct the path towards the program.
So for if you change command-cwd to "/home/gotpl/personal/new_proj/labtask/ImageSurveying/ImageSurveying/" I would gett that it would work for you.