user1390816
user1390816

Reputation: 623

Error Message at Breakpoint in Eclipse (JDI thread evaluations has encountered a prob.)

for some time the attached Error Message occured in each Project. The error occurs when debugging, at a breakpoint when the debugger stops. Step over and Step into then not working (all the time by pushing step over or into the error message is popping up). What can I do? I changed nothing at Eclipse. Here the Version: Android Developer Tools Build: v21.0.0-519525 Error Message

Upvotes: 1

Views: 2217

Answers (1)

codeMagic
codeMagic

Reputation: 44571

Sometimes certain Expressions in the debug window will cause this error. I have read different reasons that can cause it (variables returning null, variables in background task, trying to access xml views). I still haven't found the exact cause but it seems as though many different types of expressions can cause this error. Simply remove possible problem expressions and run your program again and you should be good.

If anyone has a better explanation as to why this happens, feel free to edit.

Upvotes: 4

Related Questions