This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/LAUNCHXL-CC26X2R1: Debugger loses control while stepping through the code

Part Number: LAUNCHXL-CC26X2R1
Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

Hi,

I am working with the BLE5 cc26x2 SDK 2.3 on the simple peripheral project. There is certain function that, whenenver I jump into it and I am stepping through the code, at a certain line of code when I want to step over it, the debugger does not step over but resumes. The code works just fine (with or without debugging) and if I place a breakpoint at a later point in the function the debugger will stop there. Optimization is off. This is a pretty curious case and I would like to understand how this can happen.

The code where it happens runs in user task context. The stack is advertising at the same time. Could this be a re-entrant problem when the usertask is preempted?

The code where it happens just consists of a switch case and some conditional if-else branching.

Best Regards.