ikpdb.py 文件源码

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

项目:ikpdb 作者: audaxis 项目源码 文件源码
def disable_tracing(self):
        """ Disable tracing if it is disabled and debugged program is running, 
        else do nothing.
        Do this on all threads but the debugger thread.

        :return: False if tracing has disabled, False else.
        """
        _logger.x_debug("disable_tracing()")
        #self.dump_tracing_state("before disable_tracing()")
        if self.tracing_enabled and self.execution_started:
            threading.settrace(None)  # don't trace threads to come
            iksettrace._set_trace_off()
            self.tracing_enabled = False
        #self.dump_tracing_state("after disable_tracing()")
        return self.tracing_enabled
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号