The following list are issues with MPLAB X IDE. If you do not see your issue here, look at documentation related to your project’s debug and compiler tool.
Settings that were saved in a workspace in MPLAB IDE v8 (such as tool settings) will not be transferred to the new MPLAB X IDE project. Refer to the MPLAB IDE v8 help for what is stored in a workspace (MPLAB IDE Reference>Operational Reference>Saved Information).
If you have modified your MPLAB IDE v8 project linker script so that it includes an object file, the linker will be unable to find the file when it is imported into MPLAB X IDE, because the build paths for MPLAB IDE v8 and MPLAB X IDE are different.
So you may see an error like:
<install path>ld.exe: cannot find file.o
since in MPLAB IDE v8 all build-related files are in one directory, whereas in MPLAB X IDE build files are in different subdirectories.
You can edit your linker script to work with MPLAB X IDE by using wild cards. For example, change:
/* Global-namespace object initialization - MPLAB v8*/
.init :
{
KEEP (crti.o(.init))
:
} >kseg0_program_mem
to:
/* Global-namespace object initialization - MPLAB X*/
.init :
{
KEEP (*crti.o(.init))
:
} >kseg0_program_mem
Alternatively, you can use an address attribute that allows you to place functions in C code.
int __attribute__((address(0x9D001000))) myfunction (void) {}
This allows you to place a function at an address without modifying the default linker script.
The pointer value of a structure in RAM memory will not be displayed correctly in the Watches window. This is because the compiler does not store complete debug information. The work-around is to use the MPLAB XC8 C compiler instead.
If you have loaded a corrupted project and answered a dialog question incorrectly, the Projects window could be grayed out and MPLAB X IDE will say the project cannot be built due to having no source files.
The problem occurs when the corrupted project is being loaded into MPLAB X IDE. A dialog will appear asking if C source files should be associated with header files. You can correct the issue at this point by clicking “No” (the default).
However, if you say “Yes,” the source files are now seen as header files and the project looks empty. To fix the project, you can use either of the following methods:
v3.05
from:
C:\Users\UserName\AppData\Roaming\mplab_ide\dev\v3.05
OR
The feature covered in the link below is not available because your internet connection is determined to not be stable.