Tom Reay
Tom Reay

Reputation: 139

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

Upvotes: 7

Views: 1986

Answers (2)

Ljdawson
Ljdawson

Reputation: 12249

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

Heres a handy how-to video.

Upvotes: 1

Falmarri
Falmarri

Reputation: 48597

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

Upvotes: 1

Related Questions