Hello,
today i got a really annoying failure in my PIC Project. I just want to debug the project as every time, but something is went wrong!
In the Debugger Console the error „No source code lines were found at current PC 0x0“ was shown. The Problem was that the programm stopped immediately after starting the debugger. It stops much faster as normally and the target device was not programmed.
I’ve restored an old version of the project from the SVN but nothing helped. But after some hairs less on my head i’ve found the problem. It was the PIC Memory View (SFRs). After closing the SFR View i could debug as before đ
If you use the SFR View then you have to close it every time before starting the debugger again.
tl;dr
Try to close the view of the SFR before debugging the project again.
If this helps you it would be nice if you leave a comment below đ
6. Mai 2014 um 9:34Â Uhr
Thanks for the feedback, it saved my day đ !
Danke !!
13. Dezember 2014 um 13:00Â Uhr
still have the same problem . buggy softwares………………..
21. Dezember 2014 um 19:55Â Uhr
Hello alperen,
do you use the actual version of MPLAB X?
2. Januar 2015 um 23:23Â Uhr
I faced the same issue.
MCU – PIC16F874A
XC8
The advice did not help. đ
It seems MPLAB X has some unresolved issues yet.
8. MĂ€rz 2015 um 22:37Â Uhr
Thanks ! Same issue today when debuging code for PIC32MZ2048. Some times restart MPLABX or closing the watches make it work….can’t put my finger on the fix… I’v discovered MPLABX 3 days ago : easy MCU no longer exist with this new IDE! Clock config issue, simulator issue, programming issue, need to instal Harmony to use some DSP library…need sharpen eyes (or bigger screen) to read the tiny (nicely colored but…) text font…Microchip MCU was so simple to use with previous MPLAB…what a pitty, can no longer eschape from stupid time consumming due to the „powerfull integrated environement“, nice graphic environement, with quasi-useless simulator (some say FFT and other mathematic functions do not give expected result due to simulator behavor, let’s see that in a few days..), you can „customize“ „configur“ but what about building your application ? .In favour to Microchip, MPLABX gives the opportunity for evryone to discover bugs. To answer poeple asking advices, if you dont need MIPS, keep using 16F, 18F, 24F with MPLAB8, or use MPLABX just to stay aware with new soft. If someone realy fix the simulator bugs, i’ll be happy to read.