Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android debugging - Watch points

I am trying to use watchpoints to debug an Android problem in Eclipse. I'm settings a watchpoint by settings a breakpoint on my variable definition. However the execution never pauses even though the variable is accessed. Has anyone else come across this problem? Could someone please try setting a watch point on a variable in an Android project and see if it works?

Thanks

like image 464
Tom Reay Avatar asked Jan 07 '11 21:01

Tom Reay


People also ask

What is watch point debugging?

A watchpoint is a conditional breakpoint that is only defined in the ABAP Debugger during a running debug session. It is one of the runtime utilities provided to stop and debug ABAP programs. When debugging ABAP code, you can use watchpoints to track the value of individual ABAP variables.

What does debugging do on Android?

USB debugging is often used by developers or IT support people to connect and transfer data from an Android device to a computer. While this feature is useful, a device isn't as secure when connected to a computer. So that's why some organizations require you to turn this setting off.

What does debugging mean on cell phone?

2020. USB Debugging mode is a developer mode in Samsung Android phones that allows newly programmed apps to be copied via USB to the device for testing. Depending on the OS version and installed utilities, the mode must be turned on to let developers read internal logs.


2 Answers

If you're using a handset, make sure USB debugging is enabled.

Heres a handy how-to video.

like image 28
Ljdawson Avatar answered Oct 26 '22 09:10

Ljdawson


Are you running the app as debug? Is debug set to true in your manifest?

like image 89
Falmarri Avatar answered Oct 26 '22 08:10

Falmarri