The program file could not be loaded: Invalid file offset requested
Though struggling mightily,
I've yet to be able to use a debugger with MPLAB X v5.05 .
Usually, if I try to make a debugging build, MPLAB complains
"The program file could not be loaded: Invalid file offset requested".
One time it had a lot of complaints about Buttons.i .
After removing all the .i files and trying again,
I got the quoted message.
Searching brought me to the suggestion
that I should update to at least 2.3.0 .
Not a real help.
An alternative suggestion was to use coff instead of elf.
No idea how.
How do I debug with MPLAB X?
If I need coff, how do I do that?