![]() ![]() With the following code, this call: MyLogger.logWithLink ('MyTag','param'+param) Will result in: 07-26.012/com.myapp D/MyTag: MyFrag:onStart (param3) (MyFrag. I don't know why this is so hard, if I remember right it used to work fine on IntelliJ. This is a nice trick to add a link to code, so it will be easy to jump to the code that issued the log. It is very frustrating and I know there are solutions out there but I really like being able to click on a stack trace and have it take me to the right place. Just right now that I am debugging while typing this message I went to look at my logcat tab and it started scrolling logs from 11:55am and it is 12:13. To make Android Studio's editor display line numbers, choose File. It is basically try anything to get things to show. Click that link in the Logcat panel and Android Studio's editor jumps straight to. Sometimes it won't show anything, I have to switch between the debug and android tabs to get something to show up, or I have to select "show only selected application" or "no filter" or remove the text I put on that little search looking text field, or add it. Then it scrolls like mad until it catches up to what is being logged right now but it can take a very long time. ![]() I totally hear you, I have several problems with logcat.įirst it often starts from god knows when, seems like it starts from when I first plugged my phone in but not always.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |