cancel
Showing results for 
Search instead for 
Did you mean: 

Start debug session with GDB server in persistent mode

Tom MacDonald
Associate III

Hi there.

I have been reading UM2576 - GDB Server Usage and am wondering how I can configure STM32 Cube IDE to start a debug session using the --persistant option, as described in the GDB server start-up options section on page 214:

-e, --persistant
Specifying the option -e starts the server in persistent mode. By default, the persistent mode is disabled,
meaning that the server starts in non-persistent mode.

 I can't find way to modify the startup options being used by the debugger, however.

Here is the GUI dialog for startup options that I see in cubeIDE:

TomMacDonald_0-1733147116375.png

 

There does not appear to be any place to add a manual start-up option to the command line.  You can however see what options are being used by clicking on the Show Command Line button.  In my case, this shows:

 

C:\ST\STM32CubeIDE_1.10.1\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.stlink-gdb-server.win32_2.1.400.202404281720\tools\bin\ST-LINK_gdbserver.exe -p 61234 -l 1 -d -s -cp C:\ST\STM32CubeIDE_1.10.1\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_2.1.400.202404281720\tools\bin -m 0 -g --frequency 24000

 

Does anyone know how to launch the GDB server with the --persistent mode?

 

0 REPLIES 0