platformio-vscode-ide icon indicating copy to clipboard operation
platformio-vscode-ide copied to clipboard

Open-source the VSCode debugger component code

Open maxgerhardt opened this issue 4 years ago • 7 comments

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.

maxgerhardt avatar Jun 10 '21 16:06 maxgerhardt

@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 [email protected]", 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.

evilmav avatar Jun 14 '21 11:06 evilmav

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.

stale[bot] avatar Aug 13 '21 14:08 stale[bot]

push

maxgerhardt avatar Aug 13 '21 14:08 maxgerhardt

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

zxuanyu avatar Aug 11 '22 06:08 zxuanyu

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

maxgerhardt avatar Aug 11 '22 09:08 maxgerhardt

Hi, how is it going? @ivankravets

sfilata avatar Oct 27 '22 06:10 sfilata

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

adrianstephens avatar Mar 04 '24 21:03 adrianstephens