In order to perform 0.2 mu m processes, one needs to study the diffusion of photoacid generators within the photoresist system, since diffusion during post exposure bake time has an influence on the critical dimension (CD). We have developed a new method is based on monitoring the change of the fluorescence intensity of a pH-sensitive fluorescent dye caused by the reaction with photoacid.