AnsweredAssumed Answered

Can't debug after breakpoint

Question asked by biafra on Dec 27, 2018
Latest reply on Dec 28, 2018 by biafra

Hi everyone,


I'm using MCUXpresso 10.2.1 and a custom board based on MK66FN2M0.

Sometimes I have a strange problem: the program can run fine until it stops because of a breakpoint or because I hit the suspend button, but if I then hit the resume button or if I step to the next line, the program seems to hang. If I stop the program and then I re-run it again with the attach to running target flag set and I suspend it again, it is at the same location as the preceeding debug session.

I can correctly debug the project (run, stop, break, step) before the OS (FreeRTOS) starts, but no way if the first task is started.

When I suspend the program, the FreeRTOS aware data seem correct.

This problem came unexpectedly and went away unuxpectedly.

I've tried to restart MCUXpresso, the PC, clean the project, but without success.

Maybe when this problem disappeared I made some operations, buy I cannot describe them.


What can I do to correctly debug again?


Many thanks