473,397 Members | 2,084 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

How to Debug local databases and Preferences in Android?

Hi,
I would like to know that "how to debug my database and shared preferences in an android application", which has become difficult to debug. I hope any tech developer help me in resolving this issue.
Attached Images
File Type: jpg database image.jpg (45.0 KB, 264 views)
Dec 2 '16 #1

✓ answered by chaarmann

Usually you don't debug databases. That's the task of the database vendor before he sells it to you.
If you use open source database, they are delivered with a bunch of JUnit-Tests. You can just run them. If there is a bug, you report that in a forum, or you are a professional programmer and can fix the bug yourself. In this case, you debug the code the same way as any other code: adding a JUnit-Tests that show the error and change the code until it is green again. Then submit the fix and JUnit-Test to the community.

1 1198
chaarmann
785 Expert 512MB
Usually you don't debug databases. That's the task of the database vendor before he sells it to you.
If you use open source database, they are delivered with a bunch of JUnit-Tests. You can just run them. If there is a bug, you report that in a forum, or you are a professional programmer and can fix the bug yourself. In this case, you debug the code the same way as any other code: adding a JUnit-Tests that show the error and change the code until it is green again. Then submit the fix and JUnit-Test to the community.
Dec 5 '16 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Rigs | last post by:
Hi, Does anyone happen to have a debug script that will display the variable name and value for all of the local variables on an .asp page? (not session nor application, as I already have...
0
by: Raymond Yip | last post by:
Do I need local administrator rights to debug local ASP.Net applications? Although I have added the account to the Debugger Users group, I still cannot debug the application. VS.Net complained...
11
by: Chuck | last post by:
Is there a command that will list all of the databases for a particular instance on the local machine, whether they are activated or not? If there is no such command, is there at least a way to...
0
by: Gerry Hickman | last post by:
Hi, Win2000 SP4 with IIS5 VS.NET 2003 ..NET 1.1 SP1 User belongs to "Users", "VS Developers", "Debugger Users" User can't debug local ASP.NET app without being in "Administrators" From...
3
by: RLN | last post by:
(New to SQL Server Installs) I installed SQL Server 2005 Developer Edition on a WinXP-SP2 workstation and can see some enterprise databases on the network just fine. My problem is I cannot...
2
by: Troels Arvin | last post by:
Hello, I need a way to list an instance's databases, in a way which is easy to parse (I can't count on perl or similar scripting tools to be available everywhere). I know of the 'db2 list...
3
by: John Morgan | last post by:
I have my first small SQl Server 2005 database developed on my local server and I have also its equivalent as an online database. I wish to update the local database (using and asp.net interface)...
0
by: Joe Kovac | last post by:
Hi! Debugging a local web site running on the ASP.Net Development server is easy. But if I publish my Site on a local IIS, how can I debug there? Thanks Joe
1
tuxalot
by: tuxalot | last post by:
I have a functioning survey database written in Access. I would like develop an Android app that would give my auditors the ability to complete their surveys using their mobile devices. Currently the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.