Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 809
Franck Avatar asked Oct 04 '22 18:10

Franck


1 Answers

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.

like image 112
benzonico Avatar answered Oct 13 '22 16:10

benzonico