Franck
Franck

Reputation: 522

Eclipse error(s)_during_the_evaluation for watch expression having quotes

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?

Upvotes: 5

Views: 12922

Answers (1)

benzonico
benzonico

Reputation: 10833

The problem might be more in the fact that you seem to be calling static variables than in the quotes. You should declare the whole classname including package to make it works.

Upvotes: 4

Related Questions