If conditional breakpoint raises an exception during evaluation send exception details to java
(self, thread, conditional_breakpoint_exception_tuple)
| 1998 | pydevd_sys_monitoring.restart_events() |
| 1999 | |
| 2000 | def _send_breakpoint_condition_exception(self, thread, conditional_breakpoint_exception_tuple): |
| 2001 | """If conditional breakpoint raises an exception during evaluation |
| 2002 | send exception details to java |
| 2003 | """ |
| 2004 | thread_id = get_thread_id(thread) |
| 2005 | # conditional_breakpoint_exception_tuple - should contain 2 values (exception_type, stacktrace) |
| 2006 | if conditional_breakpoint_exception_tuple and len(conditional_breakpoint_exception_tuple) == 2: |
| 2007 | exc_type, stacktrace = conditional_breakpoint_exception_tuple |
| 2008 | int_cmd = InternalGetBreakpointException(thread_id, exc_type, stacktrace) |
| 2009 | self.post_internal_command(int_cmd, thread_id) |
| 2010 | |
| 2011 | def send_caught_exception_stack(self, thread, arg, curr_frame_id): |
| 2012 | """Sends details on the exception which was caught (and where we stopped) to the java side. |
no test coverage detected