Consider the statement:
open(unit=24,file='energy_check.out',status='unknown')
and elsewhere, in another file in the code:
write(24,*) x
and elsewhere, in another file in the code:
write(24,*) y
I want to watch/break every time IO is performed on unit 24. How to do this. Web search was not helpful.