1. A computer program product for dynamically instrumenting a program at runtime, the computer program product comprising: one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions comprising: program instructions to identify, by a processor, a sequence of memory related operations from an instruction stream, wherein the sequence comprises: a plurality of memory related operations that each reference a first address in memory, including a first memory related operation and a second memory related operation, wherein the second memory related operation is only able to execute subsequent to the first memory related operation; program instructions to instrument, by the processor, the first memory related operation; program instructions to detect, by the processor, an error at the first memory related operation based on the instrumentation of the first memory related operation; program instructions to, responsive to detecting the error at the first memory related operation, instrument, by the processor, at least the second memory related operation based on the presence of the second memory related operation within the identified sequence.