You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Press f6 (Pause) or f10 (next) without connection gets an error message (here for f10)
Error detected while processing function vimspector#StepOver:
line 1:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home2/tourneboeuf/.vim/pack/bundle/opt/spector/python3/vimspector/debug_session.py", line 306, in StepOver
if self._stackTraceView.GetCurrentThreadId() is None:
AttributeError: 'NoneType' object has no attribute 'GetCurrentThreadId'
Yeah this is a bug. I’ve know about it for ages but been too lazy to fix it. A simple fix is to just make the methods tolerate being called before connection. Im happy with silence or a little user message.
tinmarino
added a commit
to tinmarino/vimspector
that referenced
this issue
Jan 10, 2020
Problem: issue puremourning#83 Python errors if pressing f3 - Pause and client is
not connected
Solution: Check input with @IfConnected wrapper that exit if self._connection
Is your feature request related to a problem? Please describe.
Press
f6
(Pause) orf10
(next) without connection gets an error message (here for f10)Describe the solution you'd like
instead of
MessageUser
with a warning color asking him to connect firstDescribe alternatives you've considered
Additional context
My solution would be 1, 2, 3. I'd be glad to make those changes with your desired solution.
The text was updated successfully, but these errors were encountered: