删除Pycharm Breakpoint Thing

Wil*_*ack 8 pycharm

所以...我真的不知道怎么说这个问题,因为我不知道发生了什么,但是有这个霹雳图标,每当我保存一个文件时,pycharm一直跳到这里,这令人非常恼火.我已经插入了图标的图片,如果有人知道如何删除这个东西请告诉我!

在此输入图像描述

小智 5

这是一个Python Exception Breakpoint。我不小心启动了一个正在运行的进程,并创建了断点。

我想我无法使用Run | View Breakpoints对话框删除它,因为它在运行的进程中。

回答:

Run | Stop 'your_process'
Run Code Online (Sandbox Code Playgroud)


小智 4

运行 Pycharm 3.4.1。

带有闪电的断点出现在代码中的异常处。您可以通过选择来控制此行为以及您设置的断点:

(1) On the main menu, choose Run|View Breakpoints.
(2) Press Ctrl+Shift+F8.
(3) In the toolbar of the Debug tool window, click the two overlapped red circles.
Run Code Online (Sandbox Code Playgroud)

弹出屏幕将类似于:

[x] Python Exception Breakpoint
    [x] All exceptions
[ ] Django Exception Breakpoint
    [ ] Template render error
[x] JavaScript Exception Breakpoints
    [x] Any exceptions

[x] All exceptions enabled
[x] Suspend
[ ] Log message to console
[ ] Remove once hit
[ ] Uncaught only
Run Code Online (Sandbox Code Playgroud)

选中或取消选中复选框以获得您想要的行为。