cortex M0 debug

The design with 60Mhz system clockruns romcode that uses

1. flash rom, running at 20MHz


2. sram, running at 60Mhz

I think there is some HRDATA(s) is wrong; but it's hard to find where it is.

Is there a efficiency debug method such I can fast find the error in the design?