I have an application where some component occasionally inserts a qNaN in a large data stream, which then invalidates the entire processing (FFT on a vector containing a single
I doubt there's a way to put a data breakpoint all over the memory to catch all NaNs.
NaNs
I'd look for the code that inserts into the vector and test for NaN there:
vector
NaN
if ( x != x ) assert(!"NaN detected");