Decompilation - works partially in stand-alone version and not at all in Browser version

Issue #141 resolved
Turgut Guneysu created an issue

StandAlone:

When the code is decompiled and loaded into the mB IDE:

  • the libraries used in the code are shown on the left menu, but the contents are empty.
  • Library functions are restored but do not show the correct NAMES. Yet they work OK. The code is totally functional.

Below is the original code on the LEFT and decompiled version on the RIGHT:

Also, below snapshot showing decompiled version with the library names displayed but WITHOUT content:

Below Browser version with enabled decompilation mode:

Environment: WIN10 Home 64bit running CHROME Version 85.0.4183.83 (Official Build) (64-bit)

  • micro:bit is loaded with a test progrm
  • USB disconnected
  • NEW to clear IDE
  • decompilation option enabled
  • USB enabled
  • and 2nd MEMORY CLEARED message in console indicating micro:bit memory is cleared instead of decompiled
  • No program blocks visible in the IDE.
  • micro:bit device reset does not run the previously loaded program

Comments (4)

  1. John Maloney repo owner

    Fixed some major issues with the decompiler in 0.6.8. Is this still failing in the stand-alone IDE? (Failure in the browser version is a separate issue.)

  2. John Maloney repo owner

    This issue is covered by issues 150 and 154, so I’m closing this one. Please add follow up comments in one of those issues.

  3. Log in to comment