Debugger Freeze when insert breakpoint.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
vivec_3546641
Level 1
Level 1

An error comes when I paused the debugger:

The run request failed. Encountered error(This INTERRUPT operation is not valid while the state is paused.)

0 Likes
4 Replies
GyanC_36
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

Hello,

     Could you please explain the issue in more details and attach the project which you are debugging?

Are you using KitProg or miniprog3?

-Gyan

0 Likes

Hello Gyan,

It is not possible to upload the project I am working on. But I can explain the issue.

I am using Miniprog3 and the controller is CYBLE 214009-00.

- there is a c file (say File.c).

- in this file when I try to insert a break point within any function while debugger is running. The debugger gets stopped. it doesn't show any error message at that time but the execution gets stopped.  when I try to pause it displays the same error.

My questions is: Is there any optimization in debugging mode?(because some of the places I can not insert breakpoint.).

I will try to make a test project to reproduce the issue and attach here soon.

0 Likes

There are optimizations in debug mode, set (Creator -> Project -> Build settings -> ARM -> Compiler-> Optimization) to "none".

Bob

0 Likes

Hello Vishal,

     Did you get the debugger working after setting the compiler optimization to 'None'?

Please let me know if you have any further queries.

-Gyan

0 Likes