'Return current Pdb frame locals if available. Otherwise
return an empty dictionary'

@property
def _pdb_locals(self):

    if self._pdb_frame:
        return self._pdb_obj.curframe_locals
    else:
        return {}
