VisualGDB Version: 5.3r8 VS Version: 15.5.7 (2017) VisualGDB Mode: Remote Linux CMake
The effect is that includes cannot be found not added to the project properties. However clicking on the #include line and “Open File (Ctrl-Shift-G)” successfully opens the file. When clicking “Add to Project Properties…” the Clang IntelliSense Diagnostics Console reports:
[+0:00:19.678] Value cannot be null.
[+0:00:19.678] Parameter name: path1
[+0:00:19.678] Stack trace:
[+0:00:19.678] at System.IO.Path.Combine(String path1, String path2)
[+0:00:19.678] at hz1.d(ck1 a)
[+0:00:19.678] at w5.k1()
[+0:00:19.678] at w5.a1_2(IEnumerable`1 b, Object& a)
[+0:00:19.678] at v1.h(IEnumerable`1 c, my1 a, Boolean b)
[+0:00:19.678] at yf1.a.AddIncludeDirectories(IEnumerable`1 a, Boolean c, Boolean b)
[+0:00:19.678] at cr.a()
Also I cannot find it now but I have seen paths like:
/home/pi/git/MyProjectvgdb-ssh://pi@raspi.local/usr/local/include/filetoinclude.h
Where /home/pi/git/MyProject is the project root and filetoinclude.h was the name of a needed include
Thank you,
Aron