Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why don't I see local variables while debugging in Eclipse?

I'm trying to debug an Android app on a device. I expect the local variables to be displayed in the Expressions view in the Debug perspective in Eclipse, but that entire view is empty.

The last message in the console is: Attempting to connect debugger to 'my.app.id' on port 8601 which seems questionable. I do have debugging enabled on the device, in the manifest, and I have the SET_DEBUG_APP permission included in the manifest.

Why can't I see my local variables?

like image 491
Caleb Avatar asked Mar 16 '11 19:03

Caleb


1 Answers

The variables are normally seen in the 'Variables' view of the debug perspective not the 'Expressions' view. Yours must be closed, so just add it from the menu, with Window, Show View, Variables option.

like image 68
NickT Avatar answered Oct 12 '22 10:10

NickT