Lines Matching refs:py_db

148 …def __init__(self, sock, py_db, PyDevJsonCommandProcessor, process_net_command, terminate_on_socke…  argument
150 PyDBDaemonThread.__init__(self, py_db)
163 for listener in self.py_db.dap_messages_listeners:
267 self.process_net_command_json(self.py_db, json_contents)
315 self.py_db.dispose_and_kill_all_pydevd_threads()
318 self.process_net_command(self.py_db, cmd_id, seq, text)
323 def __init__(self, py_db, api, watch_dirs): argument
324 PyDBDaemonThread.__init__(self, py_db)
343 self.api.request_reload_code(self.py_db, -1, None, change_path)
358 def __init__(self, sock, py_db, terminate_on_socket_close=True): argument
359 PyDBDaemonThread.__init__(self, py_db)
410 for listener in self.py_db.dap_messages_listeners:
424 self.py_db.dispose_and_kill_all_pydevd_threads()
437 exit_cmd = self.py_db.cmd_factory.make_exit_command(self.py_db)
577 def _send_io_message(py_db, s): argument
578 cmd = py_db.cmd_factory.make_io_message(s, 2)
579 if py_db.writer is not None:
580 py_db.writer.add_command(cmd)
647 …def __init__(self, seq, thread_id, py_db, set_additional_thread_info, fmt, timeout=.5, start_frame… argument
649 self._py_db = weakref.ref(py_db)
665 py_db = self._py_db()
672 self._cmd = py_db.cmd_factory.make_get_thread_stack_message(
673py_db, self.seq, self.thread_id, frame, self._fmt, must_be_suspended=not timed_out, start_frame=se…
687 def internal_step_in_thread(py_db, thread_id, cmd_id, set_additional_thread_info): argument
696 if py_db.stepping_resumes_all_threads:
700 def internal_smart_step_into(py_db, thread_id, offset, child_offset, set_additional_thread_info): argument
711 if py_db.stepping_resumes_all_threads:
753 def internal_get_variable_json(py_db, request): argument
771 variable = py_db.suspended_frames_manager.get_variable(variables_reference)
794 py_db.writer.add_command(NetCommand(CMD_RETURN, 0, variables_response, is_json=True))
884 def internal_change_variable_json(py_db, request): argument
905 variable = py_db.suspended_frames_manager.get_variable(variables_reference)
911py_db, request, value='', success=False, message='Unable to find variable container to change: %s.…
914 child_var = variable.change_variable(arguments.name, arguments.value, py_db, fmt=fmt)
918py_db, request, value='', success=False, message='Unable to change: %s.' % (arguments.name,))
930 py_db.writer.add_command(NetCommand(CMD_RETURN, 0, variables_response, is_json=True))
933 def _write_variable_response(py_db, request, value, success, message): argument
943 py_db.writer.add_command(cmd)
1128 def _evaluate_response(py_db, request, result, error_message=''): argument
1135 py_db.writer.add_command(NetCommand(CMD_RETURN, 0, variables_response, is_json=True))
1140 py_db.writer.add_command(NetCommand(CMD_RETURN, 0, variables_response, is_json=True))
1147 def internal_evaluate_expression_json(py_db, request, thread_id): argument
1172 … _evaluate_response(py_db, request, '', error_message='Expression is not valid utf-8.')
1189 frame = py_db.find_frame(thread_id, frame_id)
1191 eval_result = pydevd_vars.evaluate_expression(py_db, frame, expression, is_exec=False)
1195 …_evaluate_response(py_db, request, result='', error_message='Exception occurred during evaluation.…
1202 _evaluate_response(py_db, request, result=msg, error_message=msg)
1215 …_evaluate_response_return_exception(py_db, request, eval_result.etype, eval_result.result, eval_re…
1220 pydevd_vars.evaluate_expression(py_db, frame, expression, is_exec=True)
1222 _evaluate_response_return_exception(py_db, request, *sys.exc_info())
1225 _evaluate_response(py_db, request, result='')
1229 frame_tracker = py_db.suspended_frames_manager.get_frame_tracker(thread_id)
1232 …_evaluate_response(py_db, request, result='', error_message='Thread id: %s is not current thread i…
1257 py_db.writer.add_command(NetCommand(CMD_RETURN, 0, variables_response, is_json=True))
1259 def _evaluate_response_return_exception(py_db, request, exc_type, exc, initial_tb): argument
1266 if py_db.get_file_type(temp_tb.tb_frame) == PYDEV_FILE:
1287 _evaluate_response(py_db, request, result=err, error_message=err)
1313 def _set_expression_response(py_db, request, result, error_message): argument
1317 py_db.writer.add_command(NetCommand(CMD_RETURN, 0, variables_response, is_json=True))
1320 def internal_set_expression_json(py_db, request, thread_id): argument
1335 _evaluate_response(py_db, request, '', error_message='Expression is not valid utf-8.')
1341 _evaluate_response(py_db, request, '', error_message='Value is not valid utf-8.')
1344 frame = py_db.find_frame(thread_id, frame_id)
1346 result = pydevd_vars.evaluate_expression(py_db, frame, exec_code, is_exec=True)
1350 …_set_expression_response(py_db, request, result, error_message='Error executing: %s' % (exec_code,…
1354 frame_tracker = py_db.suspended_frames_manager.get_frame_tracker(thread_id)
1357 …_set_expression_response(py_db, request, result, error_message='Thread id: %s is not current threa…
1361 result = pydevd_vars.evaluate_expression(py_db, frame, expression, is_exec=False)
1374 py_db.writer.add_command(NetCommand(CMD_RETURN, 0, variables_response, is_json=True))
1813 def __init__(self, py_db, frame_accessor, seq, var_objects): argument
1814 PyDBDaemonThread.__init__(self, py_db)