1、设置

window -->preference-->java-->debug  把supend Thread  改为suspend VM

 

Eclipse 多线程调试

 

执行哪个线程点哪个,然后运行,运行到最后一行代码的时候要用F8  如果用f6可能 下个线程没有获得锁。(为什么?)  

相关文章:

  • 2021-09-14
  • 2021-06-17
  • 2021-04-21
  • 2021-10-16
  • 2021-09-06
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-07
  • 2021-12-12
  • 2021-09-10
相关资源
相似解决方案