Skip to main content
AZhao.10
Associate II
March 14, 2022
Solved

Unable to start debugging: Error in final launch sequence: Device debug script

NUCLEO F767ZI Board

STM32CubeIDE 1.8

This problem confused me several days and still not fixed currently.

Any help would be appreciated!

0693W00000KcSL8QAN.png!ENTRY org.eclipse.cdt.dsf.gdb 4 5012 2022-03-14 15:20:29.503

!MESSAGE Error in final launch sequence:

Device debug script

!STACK 1

org.eclipse.core.runtime.CoreException: Device debug script

at org.eclipse.cdt.dsf.concurrent.Query.get(Query.java:112)

at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugSession(GdbLaunchDelegate.java:251)

at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugger(GdbLaunchDelegate.java:108)

at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launch(GdbLaunchDelegate.java:96)

at com.st.stm32cube.ide.mcu.debug.launch.DSFDelegate.launch(DSFDelegate.java:306)

at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:803)

at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:716)

at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1021)

at org.eclipse.debug.internal.ui.DebugUIPlugin$2.run(DebugUIPlugin.java:1224)

at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

Contains: Device debug script

!SUBENTRY 1 org.eclipse.cdt.dsf 4 0 2022-03-14 15:20:29.503

!MESSAGE Device debug script

!SUBENTRY 2 com.st.stm32cube.ide.mcu.debug.launch 4 0 2022-03-14 15:20:29.503

!MESSAGE Device debug script

This topic has been closed for replies.
AZhao.10
AZhao.10Best answer
Associate II
March 15, 2022

Tested CubeMX-generated project and fount it works.

Compared .cproject file with a CubeMX-generated .cproject, and found some incorrect paths.

Thanks TDK for your help.

4 replies

TDK
March 15, 2022

If you create a new CubeMX-generated project for that chip, does the debug work for it?

"If you feel a post has answered your question, please click ""Accept as Solution""."
AZhao.10
AZhao.10AuthorBest answer
Associate II
March 15, 2022

Tested CubeMX-generated project and fount it works.

Compared .cproject file with a CubeMX-generated .cproject, and found some incorrect paths.

Thanks TDK for your help.

AZhao.10
AZhao.10Author
Associate II
March 15, 2022

I'll give it a go, and put the result here later.

AZhao.10
AZhao.10Author
Associate II
March 15, 2022

Tested CubeMX-generated project and fount it works.

Compared .cproject file with a CubeMX-generated .cproject, and found some incorrect paths.

Thanks TDK for your help.