I just put eclipse on my laptop, and when I use the Step Into debugging tool, it doesn't just take me to the next part of my code. An example is if I call .size();
on an array list, it will take me into the array list class and through all the code required for .size();
However on my desktop it will simply take me to my next piece of code. I do:
System.out.println("hello world!");
If i click "Step Into" on that (from my desktop), hello world will appear the console.
To contrast that, if I "Step Into" System.out.println("hellow world");
on my laptop, it first pulls up PrintStream.class, then after much clicking Writter.class comes up, then String.class, then BufferedWritter.class, etc.
I have been just using "Step Over" when debugging, however there are some calls, a basic example would be mergeSort(arr, 0, arr.size());
where if I step over that, it will just skip the entire thing, but if I step into it, it will pull up the arr.size();
method and I will have to click through all of that before getting back to my stuff.
On my desktop I am running windows and eclipse version 3.4.1. On my laptop I am running linux and eclipse version 3.5.1.
Thoughts? Advice? Does that make sense?
You probably have the step filters enabled to skip java.*, which would skip over any standard java classes.
There is a Use Step Filters toggle on your debug display, it's a two headed arrow, right and down.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With