How to provide GDB options in LPCLink 2 Launch Config

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

How to provide GDB options in LPCLink 2 Launch Config

ソリューションへジャンプ
1,365件の閲覧回数
jschepler
Contributor III

I have run into the issue where breakpoints caused my code to stop working due to extended back tracing.

(Reference: https://community.nxp.com/thread/327560 )

I have successfully resolved the issue in the PEMicro Debugger Launch config.  It is very easy to add GDB commands in that dialog.

How do I go about adding these GDB options when debugging with an LPC Link 2? 

タグ(2)
0 件の賞賛
返信
1 解決策
1,197件の閲覧回数
lpcxpresso_supp
NXP Employee
NXP Employee

The issue you describe with backtrace causing debug problems is rather intriguing - I've certainly not come across anything similar to this previously.

But that aside, you can use the "Edit Scripts" button towards the bottom of the Debugger -> Target Configuration tab of the LinkServer Launch Configuration page to add the required gdb command.

Regards,

MCUXpresso IDE Support

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,198件の閲覧回数
lpcxpresso_supp
NXP Employee
NXP Employee

The issue you describe with backtrace causing debug problems is rather intriguing - I've certainly not come across anything similar to this previously.

But that aside, you can use the "Edit Scripts" button towards the bottom of the Debugger -> Target Configuration tab of the LinkServer Launch Configuration page to add the required gdb command.

Regards,

MCUXpresso IDE Support

0 件の賞賛
返信
1,197件の閲覧回数
jschepler
Contributor III

Thank you for your prompt response, this resolved my issue. 

Here is an image showing the command added to the "Edit Scripts" dialog, and the command showing up in the GDB trace console when debugging:

LPCLink2BackTracePic.png

Yesterday I saw an area in the Debugger --> Main tab for a GDB command file.  It is currently empty.  I tried creating a file and adding the command there but it never worked. 

0 件の賞賛
返信