PBP does handle it in, dare I say, >99% of cases. Here's one, fairly unrealstic case, where it doesn't.
I don't think PBP analyses the code in the details and determine exactly where to insert...
I'd certainly buy a scope over/before any logic analyzer but IMHO once you have verified signal integrety with the scope, moving to a logic analyzer with a nice and quick UI like LOGIC is WAY more...
It's not a bug nor does it have any relationship to being a tight loop, the var=0 statement simply doesn't incorporate a clwdt instruction [quite correctly]. Any endless loop Consisting solely of...
Well, I will repeat the ESD thing again. Be carefull with the electrostatic charges. Be grounded at all times, no matter what you wear or what kind of floor mat is on...
Re: SOLVED - PIC seems to RESET unless I add a PAUSE in Mainloop
If compiler does not analyze this case then it is a problem. I really cannot remember having such a problem over my 25+ years of using PBP.
Ioannis Today, 12:13Will try to find that tight loop I tried many years ago...