我不小心删除了"线路调试器"从Idea调试器设置窗口(Ctrl + Shift + F8)。我无法取回它。有没有办法重置设置?或者加回来。
答案 0 :(得分:1)
我想我和你有同样的问题。当我尝试通过单击鼠标来切换断点时,我在~/.IdeaIC15/system/log/idea.log
中获得了以下堆栈跟踪。
2015-12-14 16:07:42,111 [ 237626] ERROR - pplication.impl.LaterInvocator - IntelliJ IDEA 15.0.2 Build #IC-143.1184.17
2015-12-14 16:07:42,112 [ 237627] ERROR - pplication.impl.LaterInvocator - JDK: 1.8.0_66
2015-12-14 16:07:42,112 [ 237627] ERROR - pplication.impl.LaterInvocator - VM: OpenJDK 64-Bit Server VM
2015-12-14 16:07:42,112 [ 237627] ERROR - pplication.impl.LaterInvocator - Vendor: Oracle Corporation
2015-12-14 16:07:42,112 [ 237627] ERROR - pplication.impl.LaterInvocator - OS: Linux
2015-12-14 16:07:42,112 [ 237627] ERROR - pplication.impl.LaterInvocator - Last Action: ToggleLineBreakpoint
2015-12-14 16:07:42,716 [ 238231] ERROR - pplication.impl.LaterInvocator - com.intellij.ide.scratch.ScratchFileType.getOriginalFileType(Lcom/intellij/openapi/vfs/VirtualFile;)Lcom/intellij/openapi/fileTypes/FileT
ype;
java.lang.NoSuchMethodError: com.intellij.ide.scratch.ScratchFileType.getOriginalFileType(Lcom/intellij/openapi/vfs/VirtualFile;)Lcom/intellij/openapi/fileTypes/FileType;
at com.jetbrains.python.debugger.PyLineBreakpointType.isPythonScratch(PyLineBreakpointType.java:72)
at com.jetbrains.python.debugger.PyLineBreakpointType.canPutAt(PyLineBreakpointType.java:49)
at com.intellij.xdebugger.impl.breakpoints.XBreakpointUtil.toggleLineBreakpoint(XBreakpointUtil.java:166)
at com.intellij.xdebugger.impl.breakpoints.XLineBreakpointManager$MyEditorMouseListener$1$1.run(XLineBreakpointManager.java:304)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:337)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:321)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:866)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:654)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:381)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
在Jetbrains错误跟踪器上搜索该错误,我找到了https://youtrack.jetbrains.com/issue/IDEA-149265。正如那里所建议的,禁用Python插件为我解决了这个问题。