Source code view
This section provides troubleshooting information about issues that you might encounter when using the Source code viewer.
No variables or line number information
You must compile your programs with debug information included. You can
usually do this, depending on your compiler, by adding the -g
option to your compile command.
Source code does not appear when you start Forge
If you cannot see any text, the default selected font might not be
installed on your system. If not, you can resolve the issue, go to
Courier
.
If you see a screen of text telling you that Linaro Forge could not find your source files, follow the instructions given. If you still cannot see your source code, check that the code is available on the machine you are running the software on, and that the correct file and directory permissions are set. If some files are missing and others found, try adding source directories and rescanning for further instruction.
If the problem persists, contact Forge Support.
Code folding does not work for OpenACC/OpenMP pragmas
This is a known issue. If an OpenACC or OpenMP pragma is associated with a multi-line loop, the loop block might be folded instead.