| Eclipse is unable to debug [message #1690131]
||Wed, 25 March 2015 12:49
| faceless developer
Registered: March 2015
I have a really strange issue right here. Basically, I'm unable to debug.
I use Eclipse with ADT on Debian, and I'm trying to develop an Android application. When I set up a breakpoint, and start the eclipse debugger, the main thread pauses on the line previously specified, BUT:
- in the "debug" view on eclipse the stacktrace sometimes is not shown,
and, when it is, I cannot inspect any of the variables present in my activi-
ty, because it is "Unable to evaluate the selected expression: To
perform an evaluation, an expression must be compiled in the context of
a java project's build path. The current execution context is not
associated with a Java project in the workspace" [eclipse error]
- the evidenced line is not shown as the one I am now at, but as
if I already have passed there (And haven't, because that method is a
callback invoked ONLY at the creation of the fragment class)
Sometimes, though, at other points of the app the debugger works correctly.
Thank you in advance for your help.
P.S. I also posted this issue on android devgroup on G+, but I'm not sure where shoult it really belong, because I don't know if the debug on android is managed by eclipse, or by ADT.
Powered by FUDForum
. Page generated in 0.02027 seconds