> Our main issue here is that we have to stay with MPLAB v8.83 and Hitech C > v9.65 for our legacy products. I use MPLABX and XC8/XC16 for new projects= ..=20 > X 1.62 is much more stable than the old 8.83 but the debugger still has s= ome > strange issues - reporting one value when it's clearly some other value - > (output something to serial to check values - yep different to the > debugger!)=20 Setting the optimization to 0 and local variables to volatile during debug= =20 sessions helps. /Ruben =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Ruben J=F6nsson AB Liros Electronic Box 9124 200 39 Malm=F6 Sweden www.liros.se Tel +46 40142078 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .