platformio / platformio-vscode-ide

PlatformIO IDE for VSCode: The next generation integrated development environment for IoT
https://marketplace.visualstudio.com/items?itemName=platformio.platformio-ide
Apache License 2.0
1.18k stars 188 forks source link

Open-source the VSCode debugger component code #2587

Open maxgerhardt opened 3 years ago

maxgerhardt commented 3 years ago

As noted in https://github.com/platformio/platformio-vscode-ide/issues/2586 and https://github.com/platformio/platformio-vscode-ide/issues/2368, the source code for the component responsible for the debugger integration between the PlatformIO core and VSCode, https://www.npmjs.com/package/platformio-vscode-debug, does not seem to be available in its source form, at least that I know of.

The closest I can get is the tarball at https://registry.npmjs.org/platformio-vscode-debug/-/platformio-vscode-debug-1.3.1.tgz which contains the minified source code, quite unreadable.

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("copy-paste"),
require("vscode"),require("vscode-debugadapter"),require("xml2js")):"function"==typeof define&&define.amd?define("platformio-vscode-debug",
["copy-paste","vscode","vscode-debugadapter","xml2js"],t):"object"==typeof exports?exports["platformio-vscode-debug"]=
t(require("copy-paste"),require("vscode"),require("vscode-debugadapter"),require("xml2js")):e["platformio-vscode-debug"]=t

This would make it much easier for the community to track down issues with this code, as e.g. linked with the SVD parser. This would also be in the spirit of a fully open-source PlatformIO, since the commercialization of the debugger in PIO Plus has already ended some time ago.

evilmav commented 3 years ago

@ivankravets @valeros sorry to ping you directly, but these items will be moving nowhere without your personal assistance. The forum discussion ends in "Please contact us at contact@platformio.org", but I think this is something that should be properly communicated to the community. After all, it was claimed open-source and my decision to use it in classes was influenced by this claim.

Could you please let us know if we are wasting time trying to improve the platform support withing this component.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions.

maxgerhardt commented 2 years ago

push

zxuanyu commented 1 year ago

@maxgerhardt excuse me, platformio-vscode-debug open source? the code is unreadable

maxgerhardt commented 1 year ago

As far as I know it's minified code, not the original source.

sfilata commented 1 year ago

Hi, how is it going? @ivankravets

adrianstephens commented 4 months ago

Just want to +1 this. Is it intentional not to publish the source, or an oversight?