From b0eefb3bd52cc506f86bb38cca8c916819a980e2 Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Tue, 24 Sep 2013 17:28:02 +0200 Subject: [PATCH] =?UTF-8?q?JavaBreakpointType=20=E2=80=94=20isSuspendThrea?= =?UTF-8?q?dSupported=20true?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jetbrains/python/debugger/PyExceptionBreakpointType.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python/src/com/jetbrains/python/debugger/PyExceptionBreakpointType.java b/python/src/com/jetbrains/python/debugger/PyExceptionBreakpointType.java index c19e1d2f8273..51823db87379 100644 --- a/python/src/com/jetbrains/python/debugger/PyExceptionBreakpointType.java +++ b/python/src/com/jetbrains/python/debugger/PyExceptionBreakpointType.java @@ -33,7 +33,7 @@ public class PyExceptionBreakpointType private static final String BASE_EXCEPTION = "BaseException"; public PyExceptionBreakpointType() { - super("python-exception", "Python Exception Breakpoint", false); + super("python-exception", "Python Exception Breakpoint"); } @NotNull @@ -73,6 +73,7 @@ public class PyExceptionBreakpointType final String qualifiedName = pyClass.getQualifiedName(); assert qualifiedName != null : "Qualified name of the class shouldn't be null"; return ApplicationManager.getApplication().runWriteAction(new Computable>() { + @Override public XBreakpoint compute() { return XDebuggerManager.getInstance(project).getBreakpointManager() .addBreakpoint(PyExceptionBreakpointType.this, new PyExceptionBreakpointProperties(qualifiedName)); @@ -85,6 +86,7 @@ public class PyExceptionBreakpointType private static class PyExceptionCachingFilter implements AbstractTreeClassChooserDialog.Filter { private final HashMap, Boolean>> processedElements = Maps.newHashMap(); + @Override public boolean isAccepted(@NotNull final PyClass pyClass) { final VirtualFile virtualFile = pyClass.getContainingFile().getVirtualFile(); if (virtualFile == null) { @@ -194,6 +196,7 @@ public class PyExceptionBreakpointType panel.setBorder(IdeBorderFactory.createTitledBorder("Activation policy", true)); ActionListener listener = new ActionListener() { + @Override public void actionPerformed(ActionEvent e) { setRadioButtonsEnabled(); }