setting breakpoint from code

Hi, my app (cortex m3) needs to set up a breakpoint directly from code, in order to jump to an interrupt when an instruction from a certain address is fetched. This WITHOUT using a debugger.

Any hint or tutorial? I think the only possible way is the patch block but it seems quite complicated.

Best regards