In: Electrical Engineering
After the PICmicro code has been written, compiled, assembled and linked, what tools in the MPLAB IDE is most useful in determining the correctness and completion of your code?
Live syntax checker
There is a syntax checker that is running in the background that
interprets your code line by line and checks the correctness of the
syntax and the logic. It is capable of detecting some very common
errors such as, undefined variable, unused variable and syntax
error.
This also reduces the total number of errors you might have at the end of the compilation. Simply put, you won’t have to correct a dozen typos and semi colons at compile time.
In the example I have commented out the declaration of the variable
index and you can how it reacts at all instances of index.