moving stuff around
This commit is contained in:
parent
0313efa06f
commit
44711899cb
2 changed files with 45 additions and 64 deletions
|
|
@ -558,25 +558,6 @@ class DebugSession( object ):
|
|||
return self._variablesView.VariableEval( frame, expression, is_hover )
|
||||
|
||||
|
||||
@IfConnected()
|
||||
def ShowTooltip( self, winnr, expression, is_hover ):
|
||||
"""Proxy: ballonexpr -> variables.ShowTooltip"""
|
||||
frame = self._stackTraceView.GetCurrentFrame()
|
||||
# Check if RIP is in a frame
|
||||
if frame is None:
|
||||
self._logger.debug( 'Tooltip: Not in a stack frame' )
|
||||
return ''
|
||||
|
||||
# Check if cursor in code window
|
||||
if winnr != int( self._codeView._window.number ):
|
||||
self._logger.debug( 'Winnr %s is not the code window %s',
|
||||
winnr,
|
||||
self._codeView._window.number )
|
||||
return ''
|
||||
|
||||
# Return variable aware function
|
||||
return self._variablesView.VariableEval( frame, expression, is_hover )
|
||||
|
||||
def _CleanUpTooltip( self ):
|
||||
return self._variablesView._CleanUpTooltip()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue