summaryrefslogtreecommitdiff
path: root/python/src/com/jetbrains/python/debugger/PyExceptionBreakpointProperties.java
diff options
context:
space:
mode:
Diffstat (limited to 'python/src/com/jetbrains/python/debugger/PyExceptionBreakpointProperties.java')
-rw-r--r--python/src/com/jetbrains/python/debugger/PyExceptionBreakpointProperties.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/src/com/jetbrains/python/debugger/PyExceptionBreakpointProperties.java b/python/src/com/jetbrains/python/debugger/PyExceptionBreakpointProperties.java
index d6bfd13f488c..93f9d89e386c 100644
--- a/python/src/com/jetbrains/python/debugger/PyExceptionBreakpointProperties.java
+++ b/python/src/com/jetbrains/python/debugger/PyExceptionBreakpointProperties.java
@@ -39,6 +39,7 @@ public class PyExceptionBreakpointProperties extends ExceptionBreakpointProperti
public PyExceptionBreakpointProperties(@NotNull final String exception) {
myException = exception;
+ myNotifyOnTerminate = true;
}
@Override
@@ -78,6 +79,10 @@ public class PyExceptionBreakpointProperties extends ExceptionBreakpointProperti
myNotifyOnlyOnFirst = notifyOnlyOnFirst;
}
+ public String getException() {
+ return "python-" + myException;
+ }
+
@Override
public ExceptionBreakpointCommand createAddCommand(RemoteDebugger debugger) {
return ExceptionBreakpointCommand.addExceptionBreakpointCommand(debugger, getException(),