Questions tagged [ddms]

DDMS is an Android SDK tool that provides port-forwarding services, screen capture on the device, thread and heap information on the device, logcat, process, and radio state information, incoming call and SMS spoofing, location data spoofing, and more.

The DDMS (Dalvik Debug Monitor Server) is a tool that comes with the android SDK. It provides port-forwarding services, screen capture on the device, thread and heap information on the device, logcat, process, and radio state information, incoming call and SMS spoofing, location data spoofing, and more.

More information about DDMS is at http://developer.android.com/tools/debugging/ddms.html

615 questions
0
votes
1 answer

Deleting old database and replace it with new database

I was using a database in my app. Now i have the same database but with few more data in it. I have deleted the old database and pasted the new database to the assets folder. Problem is that the app still shows the data which was in the old…
user2648852
  • 711
  • 1
  • 11
  • 13
0
votes
1 answer

Debugging broken on breakpoints set within custom views, hit from xml inflatation

I have incredibly hard problem to pinpoint. I have a project which is not really important here (actually tested it on other project, same thing, and also on another computer, same thing) with typical hierarchy. Within it I use custom views, and…
Lucas
  • 3,521
  • 3
  • 27
  • 39
0
votes
2 answers

Can Android DDMS show the line the program failed?

I think I must be missing something really basic here, but if my program dies, DDMS doesn't tell me which line it died on - all the stack references are inside the Android source code giving "source not found" errors. If anyone can help, I would…
Jumbo
  • 203
  • 1
  • 3
  • 8
0
votes
2 answers

What is synchronized code for the Dalvik VM?

In the Android SDK documentation, the page entitled "Using DDMS" has the following comment under the subheading "How DDMS Interacts with a Debugger": Known debugging issues with Dalvik - Debugging an application in the Dalvik VM should work the…
Chris Muir
  • 445
  • 2
  • 8
0
votes
2 answers

Android how to see the package name of running Apps?

When I use emulator and install an apk file on it and run it,I can see it's package name in Devices window of DDMS perspective.But when I install that apk file on real device and connect it to PC and run that App,I can not see it's package name…
Student Student
  • 960
  • 2
  • 14
  • 24
0
votes
2 answers

Android TrafficStats - how to color specify a Thread

im running jelly Bean on a physical device and trying to monitor network statistics. For example in DDMS there is a tab called network statistics and when you press start you can monitor network connection data transfers. I specifically would…
j2emanue
  • 60,549
  • 65
  • 286
  • 456
0
votes
1 answer

Detect Android Memory Leaks

When i debug my app process in DDMS (with Update Heap selected) on every "Cause GC" all data in columns is stay same as I expect, also when I press Home Button and return to app all data also is same, but on every app restart (press Back button on…
Sever
  • 2,338
  • 5
  • 35
  • 55
0
votes
1 answer

DDMS won't delete file on SDCard

I am using DDMS to attempt to delete a file on the emulator SD card. It won't delete. I can delete other files, I can export the file and move files onto the SD card, but this particular file will not delete. I have even tried to delete it with…
Roy Hinkley
  • 10,111
  • 21
  • 80
  • 120
0
votes
4 answers

How to trace errors via Eclipse? How to connect the phone to the DDMS? Some drivers missing

I want to trace an app's error that occurs at a certain time. A coleague told me I had to start eclipse, open the DDMS, plug in the phone in MTP mode and when I use the app, the log is going to show the errors. I tried that but phone is not showing…
Kaloyan Roussev
  • 14,515
  • 21
  • 98
  • 180
0
votes
1 answer

Android: DDMS file explorer does neither show content of data nor sdcard folder

No matter which device is connected to my PC, DDMS neither shows the content of the data folder nor of the SDcard folder. All my devices are Android 4.0 to 4.3. Everything else just works fine. How can I enable the access? thank you.
Herbert Feichtinger
  • 165
  • 1
  • 2
  • 11
0
votes
0 answers

Look into native libraries with DDMS

I am trying to debug a complete halt error in the code inside a pure C++/OGL library that makes the GLRender thread stop completely. The usual tool for this is the DDMS and check where the thread is stopped at, but it seems unable to read the…
MLProgrammer-CiM
  • 17,231
  • 5
  • 42
  • 75
0
votes
1 answer

Is there a shortcut for "Clear Log" in DDMS?

I prefer to clean logs before each application run/debugging, just wondering if a shortcut for this actions is available? p.s. Mac OS
Eugene
  • 59,186
  • 91
  • 226
  • 333
0
votes
1 answer

DDMS View explained

I'm trying to identify a memory leak in my Android application. I'm very new to DDMS, and just trying to get my head around it. One of the things I keep seeing is a little yellow circle in the icon for each object. What does this indicate? I can't…
Rich S
  • 3,248
  • 3
  • 28
  • 49
0
votes
1 answer

Android Development Setup on Windows 8 Pro 64bit

I have recently started the development for Android platform. For this I am using Eclipse (version details are listed in the end) on Windows 8 Pro x64 OS. I have 2 versions of java x64 available on my machine: 1.7.0_25 and 1.6.0_45. Now the problem…
Anant Anand Gupta
  • 650
  • 1
  • 11
  • 22
0
votes
1 answer

Monitoring heap in java android app

The screen shot below shows DDMS in Eclipse monitoring the heap in an Android app (top, in red rectangle). In the LogCat window at the bottom, I have output of this statement: Log.e("HEAP", "native, " + android.os.Debug.getNativeHeapSize() + " …
Al Lelopath
  • 6,448
  • 13
  • 82
  • 139