How to stop a program running under Eclipse?(如何停止在 Eclipse 下运行的程序?)
问题描述
我找不到停止正在运行的程序的选项(无论是调试还是发布模式).
I can't find an option to stop a running program (whether in debug or release mode).
所以现在,我只需关闭模拟器即可停止程序(将控制权返回给 Eclipse).
So for now, I stop the program (returning control to Eclipse) simply by closing the emulator.
有没有更好的方法来做到这一点?这样我就不需要关闭(并重新启动)模拟器?
Is there a better way of doing this? Such that I don't need to close (and restart) the emulator?
推荐答案
我了解到您想在模拟器上停止您的应用.为此,您可以打开设备窗口(在调试透视图中),选择进程,然后按同一窗口上的停止按钮.
I understand you want to stop your app on the emulator. For this you can open up the devices window (in the debug perspective), select the process and then press the stop button on the same window.
这篇关于如何停止在 Eclipse 下运行的程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何停止在 Eclipse 下运行的程序?
基础教程推荐
- Java Swing计时器未清除 2022-01-01
- 在 Java 中创建日期的正确方法是什么? 2022-01-01
- 如何在 Spring @Value 注解中正确指定默认值? 2022-01-01
- 大摇大摆的枚举 2022-01-01
- 不推荐使用 Api 注释的描述 2022-01-01
- 验证是否调用了所有 getter 方法 2022-01-01
- 多个组件的复杂布局 2022-01-01
- Java 实例变量在两个语句中声明和初始化 2022-01-01
- 如何在 JFrame 中覆盖 windowsClosing 事件 2022-01-01
- 从 python 访问 JVM 2022-01-01
