AnsweredAssumed Answered

Unable to set breakpoint using Keil

Question asked by vu.andy on Jun 28, 2016
Latest reply on Jun 28, 2016 by ForumSTM32.ForumSTM3
I am fairly new to Keil and HAL libraries.  First I use Cube to generate a project for the CAN project.  I notice that I cannot set a breakpoint on any function that is not explicitly called in main.C.  Well there are a lot of interrupt functions that are called indirectly so how can I set a breakpoint to an interrupt function.
Specifically, I am trying to set a breakpoint for function HAL_CAN_RxCpltCallback(), but Keil won't let me do that.  Is it a Keil issue or Cube?  By the way, I am using a non-commercial version of Keil so I don't know if that is the case.

EDIT: Well I thought I tried to use a UART example for the Nucleo board because the interrupt structure is similar.  For this project, I was able to set a break point for HAL_UART_RxCpltCallback() which is similar to the CAN example.  So I am not sure why on certain project, a breakpoint is possible.  Is it a Cube issue?

Nevermind ...  I found out what the problem might be.