Skip to main content
de Vaal.Ruud
Associate III
September 3, 2019
Question

Failed to launch child process

  • September 3, 2019
  • 4 replies
  • 2772 views

Use ST visual development and all of a sudden I get this message:

Failed to launch child process <gdb.exe>

>error=2 - "The system cannot find the file specified.

    This topic has been closed for replies.

    4 replies

    Ozone
    Principal
    September 3, 2019

    Don't know your IDE.

    But general experience tells me that many applications cannot deal with several instances at the same time, and refuse to start under that circumstances.

    I would check if some comatose instance of gdb.exe is still running.

    And, of course, that the executable is still there.

    de Vaal.Ruud
    Associate III
    October 14, 2019

    For some reason all of a sudden it worked for some weeks and now I get the same error again out of the blue. Reboot of the PC with ST visual only did not solve the issue.

    uhaid.1
    Associate
    January 4, 2023

    I had the same issue. uninstall and reinstall method did not work.

    Update your windows, it works.

    YIshi.1
    Associate II
    July 20, 2023

    A few days ago, I made a mistake and left the weight on the return key, and a lot of STM32CubeIDE started up. I forcibly rebooted the PC in the middle, but after that I couldn't access ST-Link at all, so I had no choice but to process it on another PC.
    Today, when I tried to debug with STVD (for STM8), I got the same message as the questioner. I thought that the ST-Link driver might be broken, so I reinstalled it, and it returned as if nothing had happened. Is it possible that the driver is corrupted?