在IntelliJ中进行调试(重新加载更改的类) [英] Debugging in IntelliJ (Reloading changed classes)

查看:121
本文介绍了在IntelliJ中进行调试(重新加载更改的类)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近从eclipse切换到了IntelliJ. Eclipse的调试启动器用于在保存类时立即重新加载应用程序. IntelliJ需要10秒钟以上的时间来重新加载已更改的类,这可能并不多,但是很烦人,因为我经常使用它.

I recently switched from eclipse to IntelliJ. Eclipse's debug launcher used to reload the application instantly, whenever a class was saved. IntelliJ takes more than 10 secs to reload changed classes, which might not be a lot, but it is annoying because I use it so frequently.

如何使IntelliJ重新加载更改的类更快?

How to make IntelliJ reload changed classes faster?

推荐答案

重新加载更改的类

  1. 执行下列操作之一:

  1. Do one of the following:

  • 在主菜单上,选择运行".重新加载更改的类.
  • 在主菜单上,选择构建" |选择".编译"class_name"以在调试过程中重新编译更改的类.

在重新加载更改的类"对话框中,确认重新加载.结果显示在消息"工具窗口中.

In the Reload Changed Classes dialog box, confirm reloading. Results are displayed in the Messages tool window.

请参阅此链接以获取详细说明.

这篇关于在IntelliJ中进行调试(重新加载更改的类)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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