Breakpoints not working

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Breakpoints not working

3,085件の閲覧回数
altatke
Contributor I

Hello, 

I'm currently working on a project with the MK10DX and an LPC-Link2 for debugging. Recently, I've realized that none of my breakpoints seem to be recognize when debugging. 

I tried a few things already like double checking the debug configuration, or that I did not disable every breakpoint, only having a single breakpoint, or running other projects and nothing seems to work. 

Has this been an issue for anyone before, or can anyone suggest what else to look into?

Thank you.

0 件の賞賛
6 返答(返信)

2,888件の閲覧回数
altatke
Contributor I

Upping this topic to see if anyone has any additional suggestions on what to double check for this issue.

0 件の賞賛

2,886件の閲覧回数
ErichStyger
Senior Contributor V

can you possibly share more what you see? For example the console log what the debug connection does, what the breakpoints view show, etc?

 

タグ(1)
0 件の賞賛

3,075件の閲覧回数
altatke
Contributor I

There is no checkmark, just the blue button. These screens would hopefully help:

altatke_0-1643901145992.png

 

altatke_1-1643901159485.png

Console view does not give me anything explicit regarding these besides a few warnings linked to syntax. 

Thank you.

 

0 件の賞賛

3,072件の閲覧回数
ErichStyger
Senior Contributor V

And the code has not been removed (dead-stripped) by the linker?

Can you check the linker map file if the functions where you set the breakpoints really exist.

0 件の賞賛

3,007件の閲覧回数
altatke
Contributor I

The functions seem to all run as intended. I can step through each of them while running as well, but the breakpoint issue still persists.

0 件の賞賛

3,077件の閲覧回数
ErichStyger
Senior Contributor V

Does the breakpoint have the blue 'checkmark' set when you set the breakpoint?

What does the breakpoint view say/show?

And: any useful information in the console view, maybe showing the reason why it failed to set the breakpoint?

0 件の賞賛