0

I have a project which im working in with C++20 in Eclise IDE, I'm using CygWin 3.4.0-1 compiler. I edited my source lookup path for my main file as gdb had the wrong route, now i can see the main file while debugging, but it won't find the source file for any other included file that is not the main. This is one of the errors i get:

Can't find a source file at "/usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/x86_64-pc-cygwin/bits/Pin.hpp"

If I locate the file with the actual Pin.hpp, the debugger will show it to me but the instructions it's running make no sense when going step by step.

This is my source lookup path configuration: Source Lookup Paths

Nicol Bolas
  • 449,505
  • 63
  • 781
  • 982
StefanOx26
  • 13
  • 2
  • Side note: unless you need Cygwin's POSIX compatibility layer you will probably be better off with [MSYS2](https://stackoverflow.com/q/30069830/4581301). – user4581301 Dec 05 '22 at 22:21

0 Answers0