Fix traceback if the current frame isn't set
This commit is contained in:
parent
99c0c4f763
commit
a51b8b23c9
1 changed files with 2 additions and 1 deletions
|
|
@ -560,7 +560,8 @@ class StackTraceView( object ):
|
|||
source[ 'name' ],
|
||||
frame[ 'line' ] ) )
|
||||
|
||||
if self._current_frame[ 'id' ] == frame[ 'id' ]:
|
||||
if ( self._current_frame is not None and
|
||||
self._current_frame[ 'id' ] == frame[ 'id' ] ):
|
||||
signs.PlaceSign( self._current_frame_sign_id,
|
||||
'VimspectorStackTrace',
|
||||
'vimspectorCurrentFrame',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue