Updates for latest Python debug adapter
They moved the location of the main application. But also: - ignore multiple responses for the same request - ignore protocol violations for variablesReference (assume 0) - ignore protocol violations for missing 'name' (assume basename of path)
This commit is contained in:
parent
14603ae72f
commit
673de95283
8 changed files with 43 additions and 15 deletions
|
|
@ -14,6 +14,7 @@
|
|||
# limitations under the License.
|
||||
|
||||
import vim
|
||||
import os
|
||||
|
||||
from vimspector import utils
|
||||
|
||||
|
|
@ -196,6 +197,9 @@ class StackTraceView( object ):
|
|||
else:
|
||||
source = { 'name': '<unknown>' }
|
||||
|
||||
if 'name' not in source:
|
||||
source[ 'name' ] = os.path.basename( source[ 'path' ] )
|
||||
|
||||
line = utils.AppendToBuffer(
|
||||
self._buf,
|
||||
' {0}: {1}@{2}:{3}'.format( frame[ 'id' ],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue