Forums Register Login

Source not found at debugging in eclipse juno!

+Pie Number of slices to send: Send
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?
+Pie Number of slices to send: Send
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".
+Pie Number of slices to send: Send
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...
+Pie Number of slices to send: Send
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.

+Pie Number of slices to send: Send
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?
If somebody says you look familiar, tell them you are in porn. Or in these tiny ads:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 3635 times.
Similar Threads
cointainer/components size & diamentions!
help needed for swing questions.
Why do the sizes of my components change when I specify a look-and-feel?
JTabbedPane with Keyevents
drawRect()
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 16:27:33.