Skip to main content
mahmoud_dhaiwi
Associate II
May 20, 2015
Question

STM32 debug Step-by-Step Problem !!

  • May 20, 2015
  • 2 replies
  • 720 views
Posted on May 20, 2015 at 11:08

Hello, 

I realize a project using stm3210e_eval,

IDE: CooCox

Debugger: ST-Link V2

When I'm debugging step-by-step,

the cursor it's not linear !! and I don't understant Why ! 

for example: the cursor is at the line 170. when I click F10 or F11, the cursor don't pass at the line 171, but it back at the line 160 !!

(''it's just an example to explain what I want to say'')

Any help please ?

thanks :)

#stm32-debugging-st-link-problem
This topic has been closed for replies.

2 replies

AvaTar
Senior III
May 20, 2015
Posted on May 20, 2015 at 11:27

I guess that you either turned on optimisation, or source code and executable aren't matching (out of sync).

Sorry, but I don't have/use Coocox.

mahmoud_dhaiwi
Associate II
May 20, 2015
Posted on May 20, 2015 at 11:56

yes,  you are right. I was turned on optimisation ! 

I've tried without optimisation, so the debugging problem is solved

Thank you argentum ;)