IntelliJ调试器卡住 [英] IntelliJ debugger gets stuck

查看:567
本文介绍了IntelliJ调试器卡住的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

发生问题时,我正在调试普通的Java应用程序,没有GUI,只有大量计算,并且在主线程的堆栈中约有5次调用。基本上,它总是在局部变量监视中说收集数据。

I'm debugging a normal Java application, no GUI, just a lot of computations and ~5 calls in the stack for the main thread when the problem occurs. Basically it keeps saying "Collecting data" in the local variable watch.

因此,我没有逐步进行操作,而是尝试在按恢复后立即添加断点。现在,它显示正在等待最后一个调试器命令完成。

So instead of going step-by-step I've tried to add a breakpoint immediately after an press "Resume". Now it says "Waiting until last debugger command completes".

有人曾经遇到过此问题吗?

Have anyone had this problem before? Is changing the debugger the only way to figure this out?

推荐答案

在IntelliJ(2017.1.4 Community Edition)上,已修复以下问题:我遇到的问题:

On IntelliJ (2017.1.4 Community Edition), the following fixed the problem for me:


  • 文件->设置

  • 键入 toString

  • 导航到构建,执行,部署->调试器->数据视图-> Java

  • 找到启用'toString()'对象视图:复选框

  • 取消选中

  • File->Settings
  • Type in "toString"
  • Navigate to Build, Execution, Deployment->Debugger->Data views->Java
  • Find the "Enable 'toString()' object view:" checkbox
  • Uncheck the box

重新运行调试器。

这篇关于IntelliJ调试器卡住的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆