Home
last modified time | relevance | path

Searched refs:py_db (Results 1 – 25 of 67) sorted by relevance

123

/dports/java/eclipse-pydev/eclipse-pydev-8.2.0/plugins/org.python.pydev.core_8.2.0.202102211157/pysrc/_pydevd_bundle/
H A Dpydevd_api.py84 def run(self, py_db): argument
88 py_db.on_initialize()
94 py_db.on_disconnect()
143 return py_db.cmd_factory.make_list_threads_message(py_db, seq)
161 py_db.set_suspend(
512 py_db.has_plugin_line_breaks = py_db.plugin.has_line_breaks()
608 result = py_db.plugin.get_breakpoints(py_db, breakpoint_type)
627 py_db.has_plugin_line_breaks = py_db.plugin.has_line_breaks()
704 py_db, argument
735 py_db.has_plugin_exception_breaks = py_db.plugin.has_exception_breaks()
[all …]
H A Dpydevd_process_net_command.py40 py_db.writer.add_command(cmd)
53 py_db.writer.add_command(cmd)
56 lock = py_db._main_lock
65 py_db.writer.add_command(cmd)
83 py_db.authentication.login(access_token)
89 def cmd_run(self, py_db, cmd_id, seq, text): argument
90 return self.api.run(py_db)
93 return self.api.list_threads(py_db, seq)
237 if py_db._set_breakpoints_with_id:
395 py_db.add_break_on_exception(
[all …]
H A Dpydevd_process_net_command_json.py150 def on_request(py_db, request): argument
175 with py_db._main_lock:
185 py_db.writer.add_command(cmd)
188 cmd = on_request(py_db, request)
190 py_db.writer.add_command(cmd)
249 self.api.notify_initialize(py_db)
260 self.api.run(py_db)
466 py_db.writer.add_command(cmd)
482 if py_db.get_use_libraries_filter():
710 py_db,
[all …]
H A Dpydevd_trace_dispatch_regular.py142 if py_db.threading_get_ident is not None:
143 thread = py_db.threading_active.get(py_db.threading_get_ident())
151 py_db.disable_tracing()
198 def trace_dispatch(py_db, frame, event, arg): argument
199 … thread_trace_func, apply_to_settrace = py_db.fix_top_level_trace_and_get_trace_func(py_db, frame)
203 py_db.enable_tracing(thread_trace_func)
228 py_db.stop_on_unhandled_exception(py_db, t, additional_info, arg)
295py_db.stop_on_unhandled_exception(py_db, t, additional_info, self._last_exc_arg)
360 if py_db.pydb_disposed:
411 if py_db.is_files_filter_enabled:
[all …]
H A Dpydevd_net_command_factory_xml.py81 def make_list_threads_message(self, py_db, seq): argument
161 def _iter_visible_frames_info(self, py_db, frames_list): argument
175 if py_db.get_file_type(frame, abs_path_real_path_and_base) == py_db.PYDEV_FILE:
189 def make_thread_stack_str(self, py_db, frames_list): argument
197 py_db, frames_list
214 py_db, argument
364 py_db, thread_id, exc_type, exc_desc, trace_obj)
385 py_db, thread_id, *arg)
425 def make_show_console_message(self, py_db, thread_id, frame): argument
429 py_db, thread_id, frames_list, CMD_SHOW_CONSOLE, '')
[all …]
H A Dpydevd_suspended_frames.py25 def __init__(self, py_db): argument
26 assert py_db is not None
27 self.py_db = py_db
148 _AbstractVariable.__init__(self, py_db)
197 def change_variable(self, name, value, py_db, fmt=None): argument
245 def __init__(self, py_db, frame, register_variable): argument
246 _AbstractVariable.__init__(self, py_db)
311 def __init__(self, suspended_frames_manager, py_db): argument
313 self.py_db = py_db
501 def track_frames(self, py_db): argument
[all …]
H A Dpydevd_comm.py142 PyDBDaemonThread.__init__(self, py_db)
317 PyDBDaemonThread.__init__(self, py_db)
395 exit_cmd = self.py_db.cmd_factory.make_exit_command(self.py_db)
573 self._py_db = weakref.ref(py_db)
589 py_db = self._py_db()
620 if py_db.stepping_resumes_all_threads:
652 def internal_get_variable_json(py_db, request): argument
782 def internal_change_variable_json(py_db, request): argument
841 py_db.writer.add_command(cmd)
1096 frame = py_db.find_frame(thread_id, frame_id)
[all …]
H A Dpydevd_daemon_thread.py16 def __init__(self, py_db, target_and_args=None): argument
24 self._py_db = weakref.ref(py_db)
30 def py_db(self): member in PyDBDaemonThread
34 created_pydb_daemon = self.py_db.created_pydb_daemon_threads
76 def run_as_pydevd_daemon_thread(py_db, func, *args, **kwargs): argument
80 t = PyDBDaemonThread(py_db, target_and_args=(func, args, kwargs))
H A Dpydevd_breakpoints.py98 def stop_on_unhandled_exception(py_db, thread, additional_info, arg): argument
100 break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions
102 exception_breakpoint = py_db.get_exception_breakpoint(exctype, break_on_uncaught_exceptions)
115 if exctype is SystemExit and py_db.ignore_system_exit_code(value):
122 if not py_db.exclude_exception_by_filter(exception_breakpoint, tb):
133 … eval_result = py_db.handle_breakpoint_condition(additional_info, exception_breakpoint, user_frame)
138 py_db.handle_breakpoint_expression(exception_breakpoint, additional_info, user_frame)
147 py_db.do_stop_on_unhandled_exception(thread, user_frame, frames_byid, arg)
/dports/devel/py-debugpy/debugpy-1.5.1/src/debugpy/_vendored/pydevd/_pydevd_bundle/
H A Dpydevd_api.py84 def run(self, py_db): argument
88 py_db.on_initialize()
94 py_db.on_disconnect()
143 return py_db.cmd_factory.make_list_threads_message(py_db, seq)
161 py_db.set_suspend(
537 py_db.has_plugin_line_breaks = py_db.plugin.has_line_breaks()
633 result = py_db.plugin.get_breakpoints(py_db, breakpoint_type)
652 py_db.has_plugin_line_breaks = py_db.plugin.has_line_breaks()
737 py_db, argument
768 py_db.has_plugin_exception_breaks = py_db.plugin.has_exception_breaks()
[all …]
H A Dpydevd_process_net_command.py40 py_db.writer.add_command(cmd)
53 py_db.writer.add_command(cmd)
56 lock = py_db._main_lock
65 py_db.writer.add_command(cmd)
83 py_db.authentication.login(access_token)
89 def cmd_run(self, py_db, cmd_id, seq, text): argument
90 return self.api.run(py_db)
93 return self.api.list_threads(py_db, seq)
262 if py_db._set_breakpoints_with_id:
420 py_db.add_break_on_exception(
[all …]
H A Dpydevd_process_net_command_json.py155 def on_request(py_db, request): argument
180 with py_db._main_lock:
190 py_db.writer.add_command(cmd)
193 cmd = on_request(py_db, request)
195 py_db.writer.add_command(cmd)
254 self.api.notify_initialize(py_db)
265 self.api.run(py_db)
525 py_db.writer.add_command(cmd)
541 if py_db.get_use_libraries_filter():
865 py_db,
[all …]
H A Dpydevd_trace_dispatch_regular.py142 if py_db.threading_get_ident is not None:
143 thread = py_db.threading_active.get(py_db.threading_get_ident())
151 py_db.disable_tracing()
198 def trace_dispatch(py_db, frame, event, arg): argument
199 … thread_trace_func, apply_to_settrace = py_db.fix_top_level_trace_and_get_trace_func(py_db, frame)
203 py_db.enable_tracing(thread_trace_func)
228 py_db.stop_on_unhandled_exception(py_db, t, additional_info, arg)
295py_db.stop_on_unhandled_exception(py_db, t, additional_info, self._last_exc_arg)
360 if py_db.pydb_disposed:
411 if py_db.is_files_filter_enabled:
[all …]
H A Dpydevd_net_command_factory_xml.py81 def make_list_threads_message(self, py_db, seq): argument
161 def _iter_visible_frames_info(self, py_db, frames_list): argument
175 if py_db.get_file_type(frame, abs_path_real_path_and_base) == py_db.PYDEV_FILE:
189 def make_thread_stack_str(self, py_db, frames_list): argument
197 py_db, frames_list
214 py_db, argument
364 py_db, thread_id, exc_type, exc_desc, trace_obj)
385 py_db, thread_id, *arg)
425 def make_show_console_message(self, py_db, thread_id, frame): argument
429 py_db, thread_id, frames_list, CMD_SHOW_CONSOLE, '')
[all …]
H A Dpydevd_suspended_frames.py25 def __init__(self, py_db): argument
26 assert py_db is not None
27 self.py_db = py_db
148 _AbstractVariable.__init__(self, py_db)
197 def change_variable(self, name, value, py_db, fmt=None): argument
245 def __init__(self, py_db, frame, register_variable): argument
246 _AbstractVariable.__init__(self, py_db)
311 def __init__(self, suspended_frames_manager, py_db): argument
313 self.py_db = py_db
501 def track_frames(self, py_db): argument
[all …]
H A Dpydevd_comm.py150 PyDBDaemonThread.__init__(self, py_db)
324 PyDBDaemonThread.__init__(self, py_db)
437 exit_cmd = self.py_db.cmd_factory.make_exit_command(self.py_db)
577 def _send_io_message(py_db, s): argument
579 if py_db.writer is not None:
580 py_db.writer.add_command(cmd)
649 self._py_db = weakref.ref(py_db)
665 py_db = self._py_db()
696 if py_db.stepping_resumes_all_threads:
711 if py_db.stepping_resumes_all_threads:
[all …]
H A Dpydevd_daemon_thread.py16 def __init__(self, py_db, target_and_args=None): argument
24 self._py_db = weakref.ref(py_db)
30 def py_db(self): member in PyDBDaemonThread
34 created_pydb_daemon = self.py_db.created_pydb_daemon_threads
76 def run_as_pydevd_daemon_thread(py_db, func, *args, **kwargs): argument
80 t = PyDBDaemonThread(py_db, target_and_args=(func, args, kwargs))
/dports/devel/py-pydevd/pydevd-1.1.1/_pydevd_bundle/
H A Dpydevd_process_net_command.py43 py_db._main_lock.acquire()
48 py_db.ready_to_run = True
328 py_db.has_plugin_line_breaks = py_db.plugin.has_line_breaks()
354 result = py_db.plugin.get_breakpoints(py_db, breakpoint_type)
372 py_db.has_plugin_line_breaks = py_db.plugin.has_line_breaks()
529 py_db.has_plugin_exception_breaks = py_db.plugin.has_exception_breaks()
565 py_db.has_plugin_exception_breaks = py_db.plugin.has_exception_breaks()
576 py_db.cmd_factory.make_load_source_message(seq, source, py_db)
585 py_db.has_plugin_exception_breaks = py_db.plugin.has_exception_breaks()
596 py_db.has_plugin_exception_breaks = py_db.plugin.has_exception_breaks()
[all …]
H A Dpydevd_trace_dispatch_regular.py42 def trace_dispatch(py_db, frame, event, arg): argument
116 if py_db._finish_debugging_session:
117 if not py_db._termination_event_set:
124 py_db._termination_event_set = True
138 if py_db.thread_analyser is not None:
139 py_db.thread_analyser.log_event(frame)
141 if py_db.asyncio_analyser is not None:
156 if py_db.not_in_scope(filename):
166 if py_db.is_filter_enabled and py_db.is_ignored_by_filters(filename):
169 if py_db.is_filter_libraries and py_db.not_in_scope(filename):
[all …]
/dports/devel/pycharm-pro/pycharm-2020.2.3/plugins/python/helpers/pydev/_pydevd_bundle/
H A Dpydevd_process_net_command.py49 py_db._main_lock.acquire()
54 py_db.ready_to_run = True
135 py_db.set_suspend(
405 py_db.has_plugin_line_breaks = py_db.plugin.has_line_breaks()
433 result = py_db.plugin.get_breakpoints(py_db, breakpoint_type)
451 py_db.has_plugin_line_breaks = py_db.plugin.has_line_breaks()
653 py_db.has_plugin_exception_breaks = py_db.plugin.has_exception_breaks()
688 py_db.has_plugin_exception_breaks = py_db.plugin.has_exception_breaks()
712 py_db.has_plugin_exception_breaks = py_db.plugin.has_exception_breaks()
723 py_db.has_plugin_exception_breaks = py_db.plugin.has_exception_breaks()
[all …]
H A Dpydevd_trace_dispatch_regular.py65 def fix_top_level_trace_and_get_trace_func(py_db, frame): argument
181 def trace_dispatch(py_db, frame, event, arg): argument
207 py_db.enable_tracing(thread_trace_func)
227 py_db, t, additional_info = self._args[0:3]
395 if py_db._finish_debugging_session:
396 if not py_db._termination_event_set:
413 if py_db.thread_analyser is not None:
416 if py_db.asyncio_analyser is not None:
450 if py_db.is_filter_enabled and py_db.is_ignored_by_filters(filename):
454 if py_db.is_filter_libraries and not py_db.in_project_scope(filename):
[all …]
/dports/devel/py-debugpy/debugpy-1.5.1/src/debugpy/_vendored/pydevd/
H A Dpydevd.py233 py_db = self.py_db
430py_db.writer.add_command(py_db.cmd_factory.make_thread_suspend_single_notification(py_db, thread_i…
2478 if py_db is None:
2495 if py_db is None:
2498 writer = py_db.writer
2625 if py_db is None:
2637 return (py_db is not None) and py_db.is_attached()
2782 if py_db is None:
2783 py_db = PyDB()
2917 if py_db is not None:
[all …]
/dports/java/eclipse-pydev/eclipse-pydev-8.2.0/plugins/org.python.pydev.core_8.2.0.202102211157/pysrc/
H A Dpydevd.py219 py_db = self.py_db
416py_db.writer.add_command(py_db.cmd_factory.make_thread_suspend_single_notification(py_db, thread_i…
2366 if py_db is None:
2383 if py_db is None:
2386 writer = py_db.writer
2513 if py_db is None:
2525 return (py_db is not None) and py_db.is_attached()
2670 if py_db is None:
2671 py_db = PyDB()
2798 if py_db is not None:
[all …]
/dports/java/eclipse-pydev/eclipse-pydev-8.2.0/plugins/org.python.pydev.core_8.2.0.202102211157/pysrc/_pydevd_frame_eval/
H A Dpydevd_frame_tracing.py48 py_db = get_global_debugger()
49 if py_db is None:
60 frame.f_trace = py_db.get_thread_local_trace_func()
93 py_db = get_global_debugger()
94 if py_db is None:
104 python_breakpoint = py_db.breakpoints[canonical_normalized_filename][line]
/dports/devel/py-debugpy/debugpy-1.5.1/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/
H A Dpydevd_frame_tracing.py48 py_db = get_global_debugger()
49 if py_db is None:
60 frame.f_trace = py_db.get_thread_local_trace_func()
93 py_db = get_global_debugger()
94 if py_db is None:
104 python_breakpoint = py_db.breakpoints[canonical_normalized_filename][line]

123