2009/11/16 Wouter van Ooijen : > I am trying (for the first time) to debug a Hi-Tech C program in MPLAB > (8.4) with a pickit2 (actually a clone). My problem is that after > view->locals I get an empty locals window. Is this the place where I > should see values of local variables? I can single-step through the > program OK, so I assume I have enabled all debug settings, or could I > have missed something? Not expert of Hi-Tech C. Optimisation... perhaps. Did you turn it off ? I guess turning off optimisation is very common to debugging in C. Best regards, -- WH Tan -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist