RTOS aware debug view focuses on wrong source on breakpoint hit

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RTOS aware debug view focuses on wrong source on breakpoint hit

578 Views
VictorLorenzo
Contributor IV

Hi,

 

When debugging with CW 10.4 on breakpoint hit the debug window does not focus the proper task/function/source code line and I must go and manually select it. Is there any way to configure it to do it automatically.

 

BR --Victor

Labels (1)
0 Kudos
Reply
2 Replies

495 Views
trytohelp
NXP Employee
NXP Employee

I got more info from Colleague working at MQX team.

This is a known issue which was logged in our bug base under the number ENGR00258551.

The Debugger team is working on this issue.

Unfortunately I don't have a workaround excepted the info provided in my previous post.

This should be solved in a next version.

We don't have more info at this time ... probably in 2014.

Pascal

0 Kudos
Reply

495 Views
trytohelp
NXP Employee
NXP Employee

Hi Victor,

I've created an example with MCU V10.5 to check how the behavior is running.

when a bkpt is set and application is launched, the project is stopped when the bkpt is reached.

however the source file of bkpt is not displayed by default.

for my example (Hello example), 2 Threads have been launched.

Under Debug view you will have info about each thread:

pastedImage_1.png

Here the BKPT is generated in Thread [ID:0x10002] but it could be in hello.c or task.c.

I don't know if there is a way to display the source file containing the bkpt directly.

I will check with colleague and will keep you informed.

Regards

Pascal

0 Kudos
Reply