MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / __init__

Method __init__

_pydevd_bundle/pydevd_breakpoints.py:8–34  ·  view source on GitHub ↗
(
        self,
        qname,
        condition,
        expression,
        notify_on_handled_exceptions,
        notify_on_unhandled_exceptions,
        notify_on_user_unhandled_exceptions,
        notify_on_first_raise_only,
        ignore_libraries,
    )

Source from the content-addressed store, hash-verified

6
7class ExceptionBreakpoint(object):
8 def __init__(
9 self,
10 qname,
11 condition,
12 expression,
13 notify_on_handled_exceptions,
14 notify_on_unhandled_exceptions,
15 notify_on_user_unhandled_exceptions,
16 notify_on_first_raise_only,
17 ignore_libraries,
18 ):
19 exctype = get_exception_class(qname)
20 self.qname = qname
21 if exctype is not None:
22 self.name = exctype.__name__
23 else:
24 self.name = None
25
26 self.condition = condition
27 self.expression = expression
28 self.notify_on_unhandled_exceptions = notify_on_unhandled_exceptions
29 self.notify_on_handled_exceptions = notify_on_handled_exceptions
30 self.notify_on_first_raise_only = notify_on_first_raise_only
31 self.notify_on_user_unhandled_exceptions = notify_on_user_unhandled_exceptions
32 self.ignore_libraries = ignore_libraries
33
34 self.type = exctype
35
36 def __str__(self):
37 return self.qname

Callers

nothing calls this directly

Calls 1

get_exception_classFunction · 0.85

Tested by

no test coverage detected