I'm using Eclipse with CDT for C++ development. However, I'm forced to use ASCII-symbols in paths to my source files to succesfully debug my programs. When source files are located in folders with non-English characters in their names, Eclipse gives an error:
Can't find a source file at "/home/\321\202\320\265\321\201\321\202/1.cpp" Locate the file or edit the source lookup path to include its location.
Is there any option that enables Eclipse to do proper Unicode processing?
When source files are located in folders with non-English characters in their names, Eclipse gives an error: Can't find a source file at "/home/\321\202\320\265\321\201\321\202/1. cpp" Locate the file or edit the source lookup path to include its location.
The solution was to enable it again, start a debug session, the breakpoint is hit and shown in the UI, then disable again the option. There is also another simpler way that will make Eclipse show the debugging highlight at the breakpoint or rather refresh the debugging UI to work as it should.
A Java program can be debugged simply by right clicking on the Java editor class file from Package explorer. Select Debug As → Java Application or use the shortcut Alt + Shift + D, J instead. Either actions mentioned above creates a new Debug Launch Configuration and uses it to start the Java application.
Perhaps move your code to a workspace that sits at root, as in /workspace/projectName/src/1.cpp
If you can't find out exactly why and solve it, the next best thing is to circumvent...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With