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

Parents
  • 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.

Comment
  • 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.

Children
No Data