Breakpoint instruction?

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

Breakpoint instruction?

Jump to solution
626 Views
PeterFromSweden
Contributor III

Sometimes it is convenient to have an instruction in code that does exactly what a breakpoint does in debugger. Halt and show context in debugger.

Does CodeWarrior support this in Kinetis in any way?

/Peter

0 Kudos
1 Solution
458 Views
konrada
Contributor IV

You can use the BKPT instruction in an asm block.

 

HTH

KA 

View solution in original post

0 Kudos
1 Reply
459 Views
konrada
Contributor IV

You can use the BKPT instruction in an asm block.

 

HTH

KA 

0 Kudos