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)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • 什么是迁移学习(Transfer Learning)?【精讲+代码实例】

    文章目录@[toc]1.Introduction2.DevelopmentofMachineLearning3.Whatistransferlearning?4.Howtotransfer?4.1Example1:物体识别4.2Example2:放射科诊断4.3Example3:语音识别系统5.Themeaningoftransferlearnin…

    2022年4月17日
    36
  • C#多线程同步事件及等待句柄

    C#多线程同步事件及等待句柄最近捣鼓了一下多线程的同步问题,发现其实C#关于多线程同步事件处理还是很灵活,这里主要写一下,自己测试的一些代码,涉及到了AutoResetEvent和ManualResetEvent,当然还有也简要提了一下System.Threading.WaitHandle.WaitOne、System.Threading.WaitHandle.WaitAny和System.Threading.Wait

    2022年7月15日
    13
  • Centos系统下Lamp环境的快速搭建(超详细)

    Centos系统下Lamp环境的快速搭建(超详细)

    2021年9月22日
    63
  • @ResponseBody详解

    @ResponseBody详解@ResponseBody的作用其实是将java对象转为json格式的数据。@responseBody注解的作用是将controller的方法返回的对象通过适当的转换器转换为指定的格式之后,写入到response对象的body区,通常用来返回JSON数据或者是XML数据。注意:在使用此注解之后不会再走视图处理器,而是直接将数据写入到输入流中,他的效果等同于通过response对象输出指定格式…

    2022年5月28日
    72
  • pic单片机流水灯循环右移c语言,PIC单片机流水灯程序[通俗易懂]

    pic单片机流水灯循环右移c语言,PIC单片机流水灯程序[通俗易懂]#INCLUDE”P16F877.inc”;org00h;gotoa1;org0ch;;******************************************;主程序段;******************************************a1movlw8;循环次数movwf40h;movlwB’01111111′;初显示值movwf…

    2022年5月1日
    59
  • Zookeepers_docker workdir

    Zookeepers_docker workdir文章目录Curator客户端创建会话创建节点获取节点和数据更新数据删除节点事务节点存在事件监听其他工具类开发测试Curator客户端Curator包含了几个包:curator-framework:对zookeeper的底层api的一些封装curator-client:提供一些客户端的操作,例如重试策略等curator-recipes:封装了一些高级特性,如:Cache事件监听、选举…

    2025年8月6日
    2

发表回复

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

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