Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Exception in terminal when typing in debug console #970

Closed
karthiknadig opened this issue Oct 30, 2018 · 0 comments
Closed

Exception in terminal when typing in debug console #970

karthiknadig opened this issue Oct 30, 2018 · 0 comments

Comments

@karthiknadig
Copy link
Member

Environment data

  • PTVSD version: master
  • OS and version: any
  • Python version (& distribution if applicable, e.g. Anaconda): any
  • Using VS Code or Visual Studio:

Actual behavior

Traceback (most recent call last):
  File "c:\Users\karth\.vscode\extensions\ms-python.python-2018.10.0-alpha\pythonFiles\experimental\ptvsd\ptvsd\wrapper.py", line 1292, in done
    fut.result()
  File "c:\Users\karth\.vscode\extensions\ms-python.python-2018.10.0-alpha\pythonFiles\experimental\ptvsd\ptvsd\futures.py", line 40, in result
    reraise(self._exc_info)
  File "c:\Users\karth\.vscode\extensions\ms-python.python-2018.10.0-alpha\pythonFiles\experimental\ptvsd\ptvsd\reraise3.py", line 8, in reraise
    raise exc_info[1].with_traceback(exc_info[2])
  File "c:\Users\karth\.vscode\extensions\ms-python.python-2018.10.0-alpha\pythonFiles\experimental\ptvsd\ptvsd\futures.py", line 155, in callback
    x = it.send(fut.result())
  File "c:\Users\karth\.vscode\extensions\ms-python.python-2018.10.0-alpha\pythonFiles\experimental\ptvsd\ptvsd\wrapper.py", line 2274, in on_completions
    for item in list(xml.comp):
  File "c:\Users\karth\.vscode\extensions\ms-python.python-2018.10.0-alpha\pythonFiles\experimental\ptvsd\ptvsd\untangle.py", line 87, in __getattr__
    "'%s' has no attribute '%s'" % (self._name, key)
AttributeError: 'xml' has no attribute 'comp'

Expected behavior

Should not print traceback.

Steps to reproduce:

  1. After hitting a breakpoint/pause. Type print(') in the terminal. Notice single quote.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant