aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Source not found at debugging in eclipse juno! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Source not found at debugging in eclipse juno!" Watch "Source not found at debugging in eclipse juno!" New topic
Author

Source not found at debugging in eclipse juno!

Mandar Khire
Ranch Hand

Joined: Sep 11, 2007
Posts: 492

I write swing program for study how it works in background...
How panel initialize & how assign values etc, all debugging related issues...

When i debug it i got following error at first step only..

In debug i can see

abcd at localhost:4950 is highlighted.
In buildpath i added JRE System Library [JavaSE-1.7]
Where i make mistake?


Millions saw the apple fall, but Newton asked why.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

That "error" means that you cannot step into a method that is implemented using native code. I suspect that you hit the "step into" button when you should have hit "step over".


JBoss In Action
Mandar Khire
Ranch Hand

Joined: Sep 11, 2007
Posts: 492

Thanks Peter Johnson,
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?
I think
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...
Divya Janyavula
Greenhorn

Joined: May 24, 2011
Posts: 19
I am not sure if we can see the VM behavior while debugging. If you want to understand when instances are created etc. then you can use constructors, static blocks, instance blocks.

Mandar Khire
Ranch Hand

Joined: Sep 11, 2007
Posts: 492

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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Source not found at debugging in eclipse juno!