I suspect that you hit the "step into" button when you should have hit "step over".
I just put break point at
For more simpler i tried following code:-
When i put break point at 1st line of above code i got error message...
Reason behind why i put break point at 1st line of code...
Just want to see how class is initialize & what happen in vm at time of that line executing?
This question is not bound with eclipse version...when i tried above small code in helios,indigo,juno...same happened...
I want to see from jdk which class file's which line used at particular point...
Thanks Divya Janyavula,
Sorry for late reply...
I tried netbeans7.2 & i got solution what i try to find out in eclipse juno. Might i dont know how to configure it.
I tried as below:-
I use following code:-
When each line i put breakpoint & try to debug in eclipse juno i got 1st result:-
When same tried in netbeans7.2 (without special settings...as following default installation instructions & created java project), i got 1st result:-
Its look like netbeans win(just for understand) in this scenario...so question is its really win or eclipse also has same facility & i don't know about it?