Questions tagged [debug]

Debugging is a methodical process of finding and reducing the number of bugs, or defects, in a computer program or a piece of electronic hardware, thus making it behave as expected. Use this tag only in cases where your question is NOT development related.

Debugging is a methodical process of finding and reducing the number of bugs, or defects, in a computer program or a piece of electronic hardware, thus making it behave as expected. Debugging tends to be harder when various subsystems are tightly coupled, as changes in one may cause bugs to emerge in another. Many books have been written about debugging (see below: Further reading), as it involves numerous aspects, including interactive debugging, control flow, integration testing, log files, monitoring (application, system), memory dumps, profiling, Statistical Process Control, and special design tactics to improve detection while simplifying changes.

Read more on Wikipedia.

70 questions
17
votes
5 answers

Bugreport location

If I have bug reports enabled in dev options and I take a bugreport from the power button menu, where are these reports saved? I see there is an option to share it, but I want to pull it directly through adb for analysis.
arcyqwerty
  • 780
  • 2
  • 11
  • 28
10
votes
1 answer

How can I get a LogCat?

Sometimes I get asked for a LogCat. What is this? What is it supposed to do? How can I get it?
Leandros
  • 840
  • 1
  • 8
  • 16
8
votes
2 answers

What are the security implications of using an app built "for debug"?

I've just come upon several .apk files hosted with Github projects which are "compiled for debug" (i.e. having application-debuggable set, which one can e.g. check using aapt dump badging /path/to/apk | grep debuggable. Not being an Android dev, I…
Izzy
  • 91,536
  • 76
  • 351
  • 968
6
votes
8 answers

How to prevent Galaxy S4 from connecting as "Connected as Installer" instead of "Connected as Media Device"?

I have my Verizon Wireless Samsung Galaxy S4's developer options enabled with USB debugging turned on. Whenever I connect it to my machine, it displays "Connected as Installer" in the notification window. However, after about thirty seconds, it…
BVB
  • 163
  • 1
  • 1
  • 6
4
votes
0 answers

Find out why my Android phone is rebooting

All of a sudden, my almost 2-year-old Samsung Galaxy S5 Neo starts rebooting at random times. I did some research, and various forum threads on the Internet recommend different "try this" solutions: Factory-reset the phone, remove apps, remove SD…
Heinzi
  • 487
  • 2
  • 9
  • 21
4
votes
3 answers

Can I open Chrome on Android from command line ?

Is there command line alternative to Chrome Remote Debugging ? Manually, I can open tabs from chrome://inspect/#devices . As well as I can open Chrome on desktop from CLI - e.g. chrome.exe --incognito --remote-debugging-port=9222. But is there…
themoah
  • 43
  • 1
  • 1
  • 3
3
votes
2 answers

Adb can't see my device - PAP5400

When I connect my Prestigio PAP5400 DUO to my PC, ADB cant find it. I think the driver is wrong but I can't find right one. I have tried installing many drivers. PS: I have debugging mode activated. I'm using Windows 8.1. PPS: Sorry for my English.…
Fubko
  • 33
  • 1
  • 3
3
votes
2 answers

Problem with ADB on my Nexus 4 (unauthorized phone)

When running adb devices in cmd, it says that my phone is unauthorized. It appears that it has something to do with the RSA fingerprint prompt. I don't remember ever getting such a prompt. Yes, I am running in PTP mode and debugging is enabled. I…
user42685
3
votes
1 answer

Debugger to a non-debuggable Android app

I want to know can we attach a debugger to an app running on the smartphone which is published over Google Play Store without modifying the original app? The reasons for asking this is by default the app which is there over Google playstore are non…
Nikhil_Coder
  • 121
  • 1
  • 4
3
votes
1 answer

How to check Firefox/Chrome developer console/tools on Android without a computer?

I am aware of these two questions How can I access the browser console on Opera Mobile on Android? Is it possible to open developer tools console in Chrome on Android phone? However the first one is interested in Opera and that is not the…
Gonçalo Peres
  • 244
  • 1
  • 3
  • 10
3
votes
1 answer

How to disable "logd" logging?

The /data/misc/logd/ directory is filled with 256 MB log files. Currently I don't need debug log files, so I would like to turn off logging. Partial solution: It seems I can turn off with the following command from terminal: stop logd But I think…
klor
  • 412
  • 3
  • 6
  • 15
2
votes
0 answers

Once installed, how do I activate Firebug in Mobile Firefox?

I went to the getfirebug.com web site, where I was able to install Firebug under Firefox 1.10.6 (the Beta version of Firefox from the Play store). It said the install was successful. Now what? How do I activate Firebug? There are no new icons…
Michael
  • 1,413
  • 9
  • 29
  • 49
2
votes
2 answers

Set static wireless debugging port on Android 14

I have 2 Android 14 phones. Both have Wireless Debugging enabled. Both are paired with the adb server PC. All devices are connected to the same WLAN. One of the phones always uses a static port in IP Address & Port menu entry. The other does not, it…
tsilvs
  • 375
  • 4
  • 17
2
votes
0 answers

Debugging Firefox on Android

I had the following: on Firefox on Android, some links in a facebook post behaved this way: I got a pop-up window that there's no Internet and I should try again, and then the following screen appeared: How can I debug such a mishap, i.e. what…
Gergely
  • 143
  • 5
2
votes
2 answers

How can I access the browser console on Opera Mobile on Android?

How can I access the browser console on Opera Mobile on Android? Browser console = something similar to the developer console window on Chrome, when pressing the keyboard shortcut Ctrl Shift J
Franck Dernoncourt
  • 3,304
  • 23
  • 67
  • 109
1
2 3 4 5