wokwi / wokwi-features

Wokwi Feature requests & Bug Reports
https://wokwi.com
72 stars 17 forks source link

Wokwi Simulator vscode extension does not run more than once per invocation #483

Closed bonnyr closed 1 year ago

bonnyr commented 1 year ago

Describe the bug The extension does not restart properly if Stop and then Start are selected.

To Reproduce Since this is a problem with the vscode extension, the link here is to a github repo with a custom chip: https://github.com/bonnyr/wokwi-ds1820-custom-chip

  1. Clone the repo
  2. Run in dev container
  3. Start Wokwi Simulation from the command palette and let it run for a bit
  4. Stop the simulation but do not close the window
  5. Start the simulation again - custom chip initialisation code is not called

Expected behavior Every Stop/Restart should behave like a completely new invocation

Environment (please complete the following information):

urish commented 1 year ago

Thanks for reporting, fixed!