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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
756 Views
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.

Labels (2)
1 Solution
549 Views
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

View solution in original post

2 Replies
549 Views
thomascurry
Contributor II

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

Thanks

0 Kudos
550 Views
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