有没有什么办法可以通过双击自动访问任何登录logcat的?可以通过、双击、有没有什么、办法

由网友(囿伱べ很幸福)分享简介:有没有什么办法可以通过双击自动访问任何登录logcat的?Is there any way to access automatically any Log in Logcat by a double click ?事实上,当出现错误而崩溃我的Andr​​oid应用程序,我可以双击该行表示,例如Actually,...

有没有什么办法可以通过双击自动访问任何登录logcat的?

Is there any way to access automatically any Log in Logcat by a double click ?

事实上,当出现错误而崩溃我的Andr​​oid应用程序,我可以双击该行表示,例如

Actually, when there is an error crashing my Android Application, I can double click on the line saying for instance

at com.myapp.mypackage$Class.function(File.java:117)

和在此线路双击,我自动重定向到我的code中的相关线路。

And by Double-clicking on this line, I am automatically redirected to the related line of my code.

但是,当我尝试生成另一个日志,例如在同一行:

But, when I try to generate the same line in another Log, example :

Log.e("TAG", "at com.myapp.mypackage$Class.function(File.java:117)");

双击不工作了......

The Double-Click doesn't work anymore ...

任何想法?

推荐答案

如果你不介意在你的日志中的杂波,你可以很容易地只需添加一个新的异常()日志消息

If you don't mind the clutter in your log, you can easily just add a new Exception() to the log message

Log.e("TAG", "Looky here see", new Exception());
阅读全文

相关推荐

最新文章