Libraries load from the motherboard lose information

Issue #496 resolved
Sean shao created an issue

Libraries read from the motherboard lose information
I wrote a local library. It can be loaded and used normally.
But when load the program from the board, the library's basic information, version, author, and custom menus are missing.

  • 超能板.ubl is the local file
    超能板error.ubl is the file read form board.

Comments (4)

  1. John Maloney repo owner

    That is the expected behavior.

    When you read code from the board, it is decompiled. That is, the machine code is turned back into blocks. However, the information that is not needed for execution -- including comments and library information -- are not part of the compiled code so they cannot be recovered by decompilation.

    Decompilation is useful as a way to find out what code is on a board or as a way to recover the code of a program when you don't have the source code. However, you should keep the original project and library files since those contain comments and other meta information that is not part of the compiled code.

  2. Sean shao reporter

    Thanks for the reply, it's clear. So there was no problem before because the IDE will fill in the information from the corresponding online library file except for the execution code.

  3. Log in to comment