lldbinit.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:LLDB_Tools 作者: blankwall 项目源码 文件源码
def remove(cls, target, id):
        key, bp = cls.cache[id], cls.get(id)
        if not isinstance(bp, (lldb.SBBreakpoint, lldb.SBWatchpoint)):
            raise TypeError("{:s}.{:s}.remove : Unable to remove unknown breakpoint type. : {!r}".format(__name__, cls.__name__, bp.__class__))
        cls.rm_command(target, id)
        cls.__rm_cache(id)
        cls.__rm_address(bp)
        cls.__expression__.pop(key)
        cls.__function__.pop(key)
        return target.BreakpointDelete(bp.GetID()) if isinstance(bp, lldb.SBBreakpoint) else target.DeleteWatchpoint(bp.GetID())
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号