5

In the Eclipse Debug perspective, when using quotes in the watch expression it returns the error <error(s)_during_the_evaluation>

like for example:

 Log.i("A","blah")

will return <error(s)_during_the_evaluation>

or

solo.getWebElement(By.className("title"), 0)

will return <error(s)_during_the_evaluation>

This works fine during the code execution. Any other expression not having any quotes in it will work fine. I tried to escape with "\" or "", but no luck (It's Java/Android code by the way).

Any idea how I could use these expressions in the Java debugger Watch Expression?

4

1 回答 1

4

问题可能更多在于您似乎在调用静态变量而不是在引号中。您应该声明包括包在内的整个类名以使其正常工作。

于 2013-03-08T19:26:19.707 回答