In Java/Eclipse, why does setting a breakpoint in my code alter the effect of that statement?
问题 I'm writing an Android app in Eclipse, and displaying some text on screen using a TextView . A different thread sometimes changes the text of this view, with the following code: runOnUiThread(new Runnable() { @Override public void run() { view.setText(newLyric); } }); I wanted to debug the setText line to check that the correct String was being passed in (as for some text, it was not being word-wrapped to fit the screen, and for other text it was, but that's a different issue). When I put a