Update netcoredbg

This commit is contained in:
Ben Jackson 2020-11-07 18:34:38 +00:00
commit fb86ef924b
5 changed files with 28 additions and 11 deletions

View file

@ -169,6 +169,10 @@ class DebugAdapterConnection( object ):
self._headers = {}
def _SendMessage( self, msg ):
if not self._Write:
# Connection was destroyed
return False
msg = json.dumps( msg )
self._logger.debug( 'Sending Message: {0}'.format( msg ) )

View file

@ -228,23 +228,23 @@ GADGETS = {
'language': 'csharp',
'enabled': False,
'download': {
'url': 'https://github.com/Samsung/netcoredbg/releases/download/latest/'
'${file_name}',
'url': ( 'https://github.com/Samsung/netcoredbg/releases/download/'
'${version}/${file_name}' ),
'format': 'tar',
},
'all': {
'version': 'master'
'version': '1.2.0-635'
},
'macos': {
'file_name': 'netcoredbg-osx-master.tar.gz',
'file_name': 'netcoredbg-osx.tar.gz',
'checksum': '',
},
'linux': {
'file_name': 'netcoredbg-linux-master.tar.gz',
'file_name': 'netcoredbg-linux-bionic.tar.gz',
'checksum': '',
},
'windows': {
'file_name': 'netcoredbg-win64-master.zip',
'file_name': 'netcoredbg-win64.zip',
'checksum': '',
},
'do': lambda name, root, gadget: installer.MakeSymlink(
@ -261,6 +261,9 @@ GADGETS = {
"pidProperty": "processId",
"pidSelect": "ask"
},
"configuration": {
"cwd": "${workspaceRoot}"
}
},
}
},