def run_locally(self, text, cur_frame, execution_id, frame_kind, repr_kind = PYTHON_EVALUATION_RESULT_REPR_KIND_NORMAL):
try:
code = self.compile(text, cur_frame)
res = eval(code, cur_frame.f_globals, self.get_locals(cur_frame, frame_kind))
self.locals_to_fast(cur_frame)
# Report any updated variable values first
self.enum_thread_frames_locally()
report_execution_result(execution_id, res, repr_kind)
except:
# Report any updated variable values first
self.enum_thread_frames_locally()
report_execution_exception(execution_id, sys.exc_info())
visualstudio_py_debugger.py 文件源码
python
阅读 21
收藏 0
点赞 0
评论 0
评论列表
文章目录