Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse step into debugging

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?

like image 211
vimalloc Avatar asked Feb 15 '10 21:02

vimalloc


1 Answers

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.

like image 167
Robin Avatar answered Oct 08 '22 06:10

Robin