Hi Haibo Yang,
Please tell me what the board and the code you are using? Is the official board?
Please also check the MDK configrations:

Whether in Utilities also have he debugger configurations?
In this picture:

Please select the lower max clock and try again.
If you still have problem, please tell me the board, the code and the MDK version which you are using, then I will try it on my side.
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------