Friday, December 14, 2007

Eclipse Debugger Influence

Here is a nice example of how debugging in eclipse would ruin your application flow.

Suppose you add the following varilable watch: "iterator.next()" because you want to see the value of the list.

After each time you would press "step into" or "step over" in the debugger the iterator would advance to the next element beacuse the debugger invoke next() method.

In this case with debugger it wouldn't run right, but without debugger it would run fine.

No comments:

Links

 
RSS Feeds Submission Directory