I can't answer the specific question, but I share your pain. I have learned that right clicking on the project in the left panel=20 enables some discrete operations, such as 'clean', rather than the menu=20 item "clean and build for debugging". The pain comes when clicking=20 the "Debug main project" button insists on re-building regardless of the=20 state of the project and my environment has an issue where that build=20 requires a clean first. Definitely some kinks to be ironed out there. Joe W On 8/4/2012 11:12 AM, Herbert Graf wrote: > Hello Chetan, > > I have done that. > > The problem is when I click "debug project" in MPLABX it automatically do= es a build, programs the device and starts the debug session. Since my prog= ram pins are different from my debug pins (I've set them that way) it alway= s fails. > > If I have the programmer plugged into the program pins the build happens,= the program happens, and then it errors out saying it can't find the debug= target. > > If I have the programmer plugged into the debug pins, the build happens, = the program fails, and it errors out there. > > How, in MPLABX, can you separate the program and debug stages? I can't fi= nd a button that JUST starts the debug session? > > Thanks, TTYL > > On 2012-08-03, at 8:16 PM, Chetan Bhargava wrote: > >> Look at this: >> http://ww1.microchip.com/downloads/en/DeviceDoc/70071E.pdf >> >> Page 9 - Register 24-7: FICD: In-Circuit Debugger Configuration Register >> >> Chetan Bhargava > --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .