Skip to main content
MLe M.1
Associate II
Jun 10, 2026 12:42 PM UTC
Question

Open C/C++ perspective when GDB connection lost

Hello,

How can I configure CubeIDE V2.1.1 to automatically swtch back to C/C++ perspective when GDB connection is lost?

Best regards

Mich

4 replies

ST Technical Moderator
Jul 8, 2026 8:38 AM UTC

Hello ​@MLe M.1 

Let me thank you for posting.

STM32CubeIDE does not provide a configuration option to automatically switch back to the C/C++ perspective when the GDB connection is unexpectedly lost.

The automatic perspective switch is only triggered when a debug session is started or properly terminated. 

The behavior of perspective switching can be configured under Window > Preferences > Run/Debug > Perspectives.

Thanks.

Mahmoud 

 

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
MLe M.1
MLe M.1Author
Associate II
Jul 10, 2026 8:04 AM UTC

But STM32CubeIDE 1.17.0 did it…..

ST Technical Moderator
Jul 14, 2026 2:47 PM UTC

Hello ​@MLe M.1 ​@Andrew Neil 

Could you please provide the Run / Debug perspectives Window.

I will be waiting for your feedbacks.

Thanks.

Mahmoud

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.