pycharm debug 单步调试太卡太慢解决方案

pycharm debug 单步调试太卡太慢解决方案改关的关选项含义解释 Debugger DataViews PyCharmhttps www jetbrains com help pycharm settings debugger data views html

pycharm debug 单步调试太卡太慢解决方案

改关的关

选项含义解释:

Debugger. Data Views | PyCharmpycharm debug 单步调试太卡太慢解决方案https://www.jetbrains.com/help/pycharm/settings-debugger-data-views.html

详细解决方案汇总

  • Method breakpoints will slow down debugger a lot because of the JVM design, they are expensive to evaluate. Remove method breakpoints and consider using the regular line breakpoints. To verify that you don’t have any method breakpoints open .idea/workspace.xml file in the project root directory (or <project>.iws file if you are using the old project format) and look for any breakpoints inside the method_breakpoints node.
  • Watch method return values option is enabled in the Debugger tool window. Try disabling this option to improve the performance.
  • Enable alternative views for Collections classes and Enable toString()’ object view options enabled in Settings (Preferences on macOS) | Build, Execution, Deployment | Debugger | Data Views. If toString() methods take a long time to complete, disable this option. Note that custom toString() methods can also change the semantics of the application when running under debugger in case the code inside these methods changes the state of your application.
  • Memory tab in the debugger toolwindow. It is updated on every debugger stop, try to minimize it to improve stepping performance.
  • Settings (Preferences on macOS) | Build, Execution, Deployment | Debugger | Data Views | Editor | Show values inline. Disable to improve performance.
  • Settings (Preferences on macOS) | Build, Execution, Deployment | Debugger | Data Views | Java | Predict condition values and exceptions based on data flow analysis. Disable to improve performance.
  • Enable Mute Renderers option in the Debug tool window Variables view context menu.

参考:

https://intellij-support.jetbrains.com/hc/en-us/articles/-Java-slow-performance-or-hangups-when-starting-debugger-and-stepping

 

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/232706.html原文链接:https://javaforall.net

(0)
上一篇 2025年9月20日 下午4:01
下一篇 2025年9月20日 下午4:22


相关推荐

  • Ubuntu 配置磁盘挂载到指定目录

    Ubuntu 配置磁盘挂载到指定目录最近在工作中 需要将磁盘挂载到自己指定的目录下 特此记录便于日后查阅 1 查看当前所有的磁盘信息首先查看当前服务器所有磁盘信息 命令如下 sudofdisk l 从列出的信息中可以看出 电脑内两个硬盘分别为 sda 和 sdb sdb 为固态硬盘安装了 win10 系统和 win10 下的软件 sda 安装了 Linux 系统 sda3 与 sda4 用于 win10 下的文件存储 带有 microsoft 基本数据 标识 其余盘用于 Linux 使用 sda1 与 sda2 作为 Linux 的文件存储 带有 L

    2026年3月17日
    3
  • ON、WHERE、HAVING的差别

    ON、WHERE、HAVING的差别

    2021年12月14日
    44
  • imfilter函数matlab_matlab too many input argument

    imfilter函数matlab_matlab too many input argument认真研读一下MATLAB的help文档吧,解释最权威:BWFILLFillbackgroundregionsinbinaryimage.BWFILLisagrandfatheredfunctionthathasbeenreplacedbyIMFILL.BW2=BWFILL(BW1,C,R,N)performsaflood-filloperationont…

    2025年11月7日
    8
  • RabbitMQ基础介绍与在java中使用-入门「建议收藏」

    RabbitMQ基础介绍与在java中使用-入门「建议收藏」前言:MQ做应用解耦,流量削峰这些是常识,RabbitMQ是实现了高级消息队列协议(AMQP)的开源消息代理软件(亦称面向消息的中间件)。RabbitMQ服务器是用Erlang语言编写的,而集群和故障转移是构建在开放电信平台框架上的。所有主要的编程语言均有与代理接口通讯的客户端库常用的主流的MQ有四个ActiveMQ:Apache下的一个子项目。使用Java完全支持JMS1.1和J2EE1.4规范的JMSProvider实现,少量代码就可以高效地实现高级应用场景。可插拔的传输协议支持,比如:

    2022年10月3日
    8
  • route命令「建议收藏」

    route命令「建议收藏」转载:https://www.kancloud.cn/chunyu/php_basic_knowledge/2106519route命令详解route命令用于显示和操作IP静态路由表。路由表,指

    2022年7月1日
    35
  • 验证CSR文件

    验证CSR文件使用 openssl 命令验证 csr 信息 验证密钥对输入这个命令验证 CSR 的信息 opensslreq noout text in CSR 文件 输入这个命令验证 SSL 证书信息 opensslx509 noout text in ssl crt server crt CRT 文件 输入这个命令验证私钥 opensslrsa noout

    2026年3月18日
    2

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号