Eclipse debugger always blocks on ThreadPoolExecutor without any obvious exception, why?

前端 未结 4 980
天命终不由人
天命终不由人 2020-12-04 05:39

I\'m working on my usual projects on Eclipse, it\'s a J2EE application, made with Spring, Hibernate and so on. I\'m using Tomcat 7 for this (no particular reason, I don\'t e

4条回答
  •  南方客
    南方客 (楼主)
    2020-12-04 05:52

    I have noticed that this often occurs after modifying server files (jsp or java) and STS has trouble reloading the application.

    This usually leads to restarting the server in order to get it to get the changes synchronized.

    After introducing JRebel - it appears to have gone away. So, I would like to think it is a reproducible issue in STS when hotswapping code in debug mode.

    By removing the native hotswapping, it eliminates the issue with it breaking inside the ThreadPoolExecutor class.

提交回复
热议问题