dape icon indicating copy to clipboard operation
dape copied to clipboard

how to set cwd by relative path such as "./" when use cpptools

Open ipyffor opened this issue 1 year ago • 3 comments

"./" not work(can not find program), :program and cwd both used relative path,

ipyffor avatar Mar 10 '24 14:03 ipyffor

Could you give a bit more context?

svaante avatar Mar 12 '24 09:03 svaante

image image 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

ipyffor avatar Apr 08 '24 09:04 ipyffor

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.

svaante avatar Apr 17 '24 17:04 svaante