You are reading a single comment by @allObjects and its replies. Click here to read the full conversation.
  • Regarding source map and finding back into it: to my understanding, uploaded code is stored by Espruino at a particular 'source code location|address. That address of course has to be returned back to the IDE which can write the information to the map. Knowing the interpreter's pointer - program counter - at runtime and returning it on break point, that would be frequent enough. Dynamically created code for which no uploaded code and map to source exists, Espruino would have to send the dynamically created code code back to the IDE and presented as best as possible.
    If things happen to be in RAM and moved around, it get's pretty diare... on the other hand, apploading in function junks and providing an upload-time ID for the function could solve that problem.

About

Avatar for allObjects @allObjects started