Automatically clearing LogCat on each Eclipse Debug/Run?

后端 未结 2 1801
太阳男子
太阳男子 2021-02-02 07:37

I expected this to be a simple task, but I\'m surprised to find no answers for this.

Let me clarify:

  • I do not want to call adb logcat -c

相关标签:
2条回答
  • 2021-02-02 07:54

    Some commercial releases of Eclipse (e.g. Adobe's Flash Builder) have this as an option in the preferences panel. It's probably a relatively trivial thing to implement, they just didn't bother.

    You should request this feature, if enough people do it they might add it to the next release:

    http://www.eclipse.org/contribute/

    0 讨论(0)
  • 2021-02-02 08:12

    If you're not locked to Eclipse because of some strong reasons, you can try IntelliJ IDEA as IDE. Here is option for run configuration for clear log on app run. Unfortunately, following http://youtrack.jetbrains.com/issue/IDEA-80976 it is broken right now, but I think it'll be fixed in near future.

    0 讨论(0)
提交回复
热议问题