thanks for your information. When time allows, I will make another set of tests. When I got my PICKit3, I was able to debug the app, set break points, etc. I followed the doc "Debugging chipKIT with MPLAB IDE.pdf" and used MPLAB 8.6. At the time, I has been a while, MPLAB got confused withe C++ code...