cancel
Showing results for 
Search instead for 
Did you mean: 

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

AZhao.10
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

4 REPLIES 4
TDK
Guru

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
Associate II

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

AZhao.10
Associate II

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.

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.