STM32CubeIDE 1.3.1 Debug session does not start when 'Build before launch' unchecked
Hi,
I have the following setup running:
Windows 10 (latest), STM32CubeIDE 1.3.1, local GDB Server and ST-LinkV2. Debugger settings are default. The project is CubeMX generated.
I did a search on the ST site as well as Google but didn't find anything. So I'm here...
I had in the past always the option 'Build (if required) before launching' checked. So when I work on a a project and (re)compile it until it is error and warning free, there is a valid ELF file existing. Each time, when I want to start the Debugger to download the ELF file and to debug, the build process is started again. Even there is nothing to do, it takes some additional time.
So I decided to uncheck the option 'Build (if required) before launching' in Preferences -> Run/Debug -> Launching -> general Options. Now the debugger is started immediately, exactly what I want.
BUT: When I close and restart CubeIDE, the debugger wont start anymore. Nothing happenes by pressing F5 or selecting Menu Run -> Debug. All Debug configurations are still available and correct. I have to check 'Build before launching' again, after that the debugger starts, of course with starting make before. After that I can uncheck 'Build before launching' again. The debugger will start immediately by pressing F5 - until next shut-down of CubeIDE.
Is this any known issue or even already fixed in the next version? Or can this be a configuration issue?
Thanks and have a nice day,
Bernhard