Topic : Bug when single stepping through my code

Forum : ARM

Original Post
Post Information Post
December 7, 2009 - 12:59pm
Guest

Hello

I'm using the new STM32F10x Standard Peripherals Library for my new project.

But when I'm single stepping my code and try to enter a specific function I end up single stepping in core_cm3.h (h-file).

The specific function doesn't show any code coverage in the editor window (but the function works).

Can the bug be because core_cm3.h uses a lot of inline functions in the h-file?

Should I remove all inline functions from core_cm3.h and but them in core_cm3.c instead?

Replies
Post Information Post
+1
0
-1
December 7, 2009 - 1:20pm
Guest

Hello again

I tried to move all inline functions from core_cm3.h to core_cm3.c.

Now single stepping and code coverage works. :-)