I was debugging into a subroutine that gets called from a bunch of different places, and it didn't look like the problem was occurring the first time. So I created a global variable to count how many times it had been called. For several hours, I couldn't get the fucking thing to change as I stepped past the ++ code, but I finally managed to remember the necessary esoteria to fix at least *that* part of the problem. It turns out it *is* happening on the first call, but slightly at random, because some ISR the customer is calling somewhere is messing up the stack in mid-subroutine, which is causing an alignment error in the processor.
no subject
this way, even if i am an idiot for not knowing, I am not alone in my idiocy. :)
no subject
*smiles and nods*
Re: *smiles and nods*
no subject
but i still knew from the length of the "yeeesss" to be happy for you. :P