Hello,
I'm new to TCF. I am trying to run a TCF debug session in order to start and dig into TCF code.
I'm working according to the tutorial in this link:
https://www.youtube.com/watch?v=lG1IjXv_K_4
I installed VM using VMWare with Ubunto Linux installed in it, I created a shared drive, I created a small "Hello world" C++ application (compiled with -g) on the Linux VM.
I am working with Eclipse 4.6.3 with TCF installed in it on my Windows 10 machine.
I created TCF debug session. In the session I set in the "Application" tab the fields "Local File Path" with the path to the executable file – this is the path in my host Windows
machine. In the "Remote File Path" I set the path to the executable, as it can be reached in the Linux VM.
I added in the "Source" tab a mapping between the source folder path in Linux VM to the path in the host machine.
I placed a breakpoint on the line which prints "Hello World".
When I run the debug session, a "Dissasembly" editor is presented with marker pointing to the line after "_start:". When I click on "Resume" button I see in the console window the
following:
sh: 0: getcwd() failed: No such file or directory
I upgraded my Eclipse version to 4.9, but the results are the same.
I’ll be grateful for your help.
Thanks,
Gidi