Debug configuration set to point at GDB (build with python included).

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

Debug configuration set to point at GDB (build with python included).

ソリューションへジャンプ
1,689件の閲覧回数
thomascurry
Contributor II

Continues to use LPCxpresso version of GDB. Set in "Debug Configuration" "Debugger" "Main" to point to another version of GDB.  Looks like it is ignoring the selection and always using the LPCxpresso version of GDB.

ラベル(2)
タグ(2)
1 解決策
1,482件の閲覧回数
lpcxpresso_supp
NXP Employee
NXP Employee

Yes, there does seem to be an issue here. We'll look at fixing this in a future product release, but in the meantime, you can achieve your requirement in one of the following two ways...

In the case that you have a project which does not yet have a launch configuration file (or where you are happy to delete the existing launch configuration file), then the simplest way to solve this is to go to:

Preferences - LPCXpresso - Debug Options (Miscellaneous)

and change the Debugger Executable from "arm-none-eabi-gdb" to "arm-none-eabi-gdb-py". This setting will then get picked up when you first debug your project (when the IDE will automatically create a new launch configuration file).

Or to update an existing launch configuration, double click on the .launch file inside your project (in the Project Explorer view) to open it in the editor. Then change the line:

<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="arm-none-eabi-gdb"/>

to

<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="arm-none-eabi-gdb-py"/>

Regards,

LPCXpresso Support

元の投稿で解決策を見る

2 返答(返信)
1,482件の閲覧回数
thomascurry
Contributor II

Good solution.  Works better than my way to allow all future debug configurations to use selected GDB application. 

Thanks

0 件の賞賛
返信
1,483件の閲覧回数
lpcxpresso_supp
NXP Employee
NXP Employee

Yes, there does seem to be an issue here. We'll look at fixing this in a future product release, but in the meantime, you can achieve your requirement in one of the following two ways...

In the case that you have a project which does not yet have a launch configuration file (or where you are happy to delete the existing launch configuration file), then the simplest way to solve this is to go to:

Preferences - LPCXpresso - Debug Options (Miscellaneous)

and change the Debugger Executable from "arm-none-eabi-gdb" to "arm-none-eabi-gdb-py". This setting will then get picked up when you first debug your project (when the IDE will automatically create a new launch configuration file).

Or to update an existing launch configuration, double click on the .launch file inside your project (in the Project Explorer view) to open it in the editor. Then change the line:

<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="arm-none-eabi-gdb"/>

to

<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="arm-none-eabi-gdb-py"/>

Regards,

LPCXpresso Support