>> 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. AFAIK the free version does not optimize at all. I certainly did not see an option to turn any optimizations on or off. -- Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products docent Hogeschool van Utrecht: www.voti.nl/hvu -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist