Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I dont use PicKit3 but when debugging code many compilers insert instructions sometimes after every little code line so it can stop anywhere if needed.
Most of Microchip PICs have built-in hardware debugging capabilities, so the debugger doesn't need to mangle the code. It does insert a small program (500 bytes or so) called "debug executive". It is used to talk to the debugger while the chip is halted. Most chips (but not 4620) have special space for the debug executive which is not documented and not visible for a regular program.
Ok great, but then how do we explain the increase in size from non debug to debug builds?
Less than 0x200 to more than 0xF000.
It is not really increase in size. It's his program at the beginning, debug executive at the end, and huge hiatus in the middle.
but 0xF000 is getting near 65535 bytes.