Under Review
over 1 year ago

Ticket resolved with 4.0.7

Run App fails with timeout

Running an app often fails with the following error message:

"Failed to launch the app: Timeout"

The workaround is to try again a couple of times until it works.

Environment:

  • Visual Studio Code
  • Windows 11
  • Monkey C plugin 1.0.0

In some cases (for specific apps), Run App fails consistently, and the only workaround is to copy over the PRG file manually. This specific case was seen with Monkey C plugin v0.1.13, as well.

See thread:

https://forums.garmin.com/developer/connect-iq/f/discussion/276200/vscode-extension-failed-to-launch-the-app-timeout

  • As said, the workaround seems to be to run it in eclipse or copy the prg file over.  From what I can tell, the simulator is still looking in the temporary folder for the PRG file, rather than using the location in the launch.json setting.  When running the simulator via eclipse first it automatically copies the file to the temporary folder, hence why it works subsequently in vscode, although any changes in vscode won't affect the file being run in the simulator.

  • Same here. Eclipse it is for now until they get some more of the VScode bugs worked out. <sigh>

  • I'm having a similar issue. For me, a workaround is starting the simulator manually first (eg. with command "connectiq edge830") and then Run - Start Debugging in Visual Studio Code.

    Environment:

    • Visual Studio Code
    • Mac OS X 10.15.7
    • Monkey C plugin 1.0.0
  • Hi, we are in the middle of investigating this and have determined that having a space anywhere in the filepath of your projects bin folder can cause this issue. A fix for the issue is being looked at, but if you are experiencing this problem and removing the space does not resolve the problem we would like to know. 

    We would also like to know the full filepath to the PRG if you don't have a space and are still having this problem. 

  • Doesn't work for me.