Debug launch failure.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Debug launch failure.

跳至解决方案
3,513 次查看
randenewberry
Contributor IV

We think we are having the problem described in the release notes under the Debugging section, item 4 (shown below)

Problem is I can not find where to point directly to the GDB exe (i.e. where is this setting "${cross_prefix}gdb${cross_suffix}")?

Can anyone help?

 

Thank you

 

Reference release note, Item 4:

ISSUE: If the PATH variable has double semicolons (;;) or a semicolon at the end, launching gdb debugger might fail. The it is possible that the gdb debugger specified with ${cross_prefix}gdb${cross_suffix} is not found. An error message with "Error while launching command: gdb --version" is shown.
WORKAROUND: The likely reason for this issue is a double semicolon in the PATH environment variable, or a semicolon at the end of the variable,  If a double semicolon or one at the end is present in your PATH, remove it. If this does not help: In the launch configuration settings, instead using ${cross_prefix}gdb${cross_suffix}, point directly to the GDB executable, e.g. "C:\Freescale\KDS_1.0\toolchain\bin\arm-none-eabi-gdb.exe".

标签 (1)
0 项奖励
回复
1 解答
2,394 次查看
randenewberry
Contributor IV

Hi Erich,

Making that change changed the error message, which led us to the problem: We did not select a Device Name..

Thank you for the assistance, we are in the debugger!

在原帖中查看解决方案

0 项奖励
回复
3 回复数
2,394 次查看
BlackNight
NXP Employee
NXP Employee

It is in the debug configuration. Use the menu Run > Debug configurations..

Then it is in the Debugger tab of your connection (see attached screenshot).

2,395 次查看
randenewberry
Contributor IV

Hi Erich,

Making that change changed the error message, which led us to the problem: We did not select a Device Name..

Thank you for the assistance, we are in the debugger!

0 项奖励
回复
2,393 次查看
randenewberry
Contributor IV

Hi Erich,

Thanks for the quick reply, we are trying it now, and let you know!

0 项奖励
回复