Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » debugger + class file editor
debugger + class file editor [message #187983] Sun, 01 February 2004 21:18 Go to next message
Eclipse UserFriend
Originally posted by: trollman.optonline.net

Hello, i am fairly new to eclipse, but i really like it so far.

Anyway i've been having some pretty annoying things happen while using the
debugger. When ever i am steping through my code (mostly having to so with
URL's and strings) i get these windows that pop up with the title of
different classes that my code is using. such as String.class; URL.class
etc. The rest of that window says "source not found; the jar file rt.jar has
no source attachment" I then have to click the step button many many times
to get through these various windows and back to steping through my code.

My question is, how can i either, prevent these windows from poping up. or
tell the debugger to only step through my code and now worry about the
classes that are using them.

thanks for the help
Karl
Re: debugger + class file editor [message #188028 is a reply to message #187983] Sun, 01 February 2004 23:09 Go to previous messageGo to next message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
Karl please always state which Eclipse build you are using as then I don't
have to try to cover all the differences between the different versions of
Eclipse :-)

You will want to set up step filtering.
Window>Preferences>Java>Debug>Step Filtering
Set the packages and or classes you do not wish to step through.

In the latest 3.0 stream, step filtering for all step actions is controlled
by a toggle button in the toolbar of the debug view.
In builds older than this you need to set the filters and then use the Step
with Filters action (again in the toolbar of the debug view).

HTH
Darins

"Karl Falconer" <trollman@optonline.net> wrote in message
news:bvjq9b$208$1@eclipse.org...
> Hello, i am fairly new to eclipse, but i really like it so far.
>
> Anyway i've been having some pretty annoying things happen while using the
> debugger. When ever i am steping through my code (mostly having to so with
> URL's and strings) i get these windows that pop up with the title of
> different classes that my code is using. such as String.class; URL.class
> etc. The rest of that window says "source not found; the jar file rt.jar
has
> no source attachment" I then have to click the step button many many
times
> to get through these various windows and back to steping through my code.
>
> My question is, how can i either, prevent these windows from poping up. or
> tell the debugger to only step through my code and now worry about the
> classes that are using them.
>
> thanks for the help
> Karl
>
>
Re: debugger + class file editor [message #188045 is a reply to message #188028] Mon, 02 February 2004 01:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: trollman.optonline.net

Hey, thanks for the reply. I am using build version 2.1.2
I followed your instructions, and the only step filter that was seleted is
labled "java.lang.ClassLoader". When i disable it, i can no longer click the
step button.

Actually now that ive played with the debugger a little more, i think ive
been using the wrong button. I have been complaining with the button "step
with filters/step debug" i tried the "step return" button, and it seems to
have the behavior that i want, going line by line in my code. So i guess
everything is okay now. Thanks for the help

Karl

"Darin Swanson" <Darin_Swanson@us.ibm.com> wrote in message
news:bvk0rk$84l$1@eclipse.org...
> Karl please always state which Eclipse build you are using as then I don't
> have to try to cover all the differences between the different versions of
> Eclipse :-)
>
> You will want to set up step filtering.
> Window>Preferences>Java>Debug>Step Filtering
> Set the packages and or classes you do not wish to step through.
>
> In the latest 3.0 stream, step filtering for all step actions is
controlled
> by a toggle button in the toolbar of the debug view.
> In builds older than this you need to set the filters and then use the
Step
> with Filters action (again in the toolbar of the debug view).
>
> HTH
> Darins
>
> "Karl Falconer" <trollman@optonline.net> wrote in message
> news:bvjq9b$208$1@eclipse.org...
> > Hello, i am fairly new to eclipse, but i really like it so far.
> >
> > Anyway i've been having some pretty annoying things happen while using
the
> > debugger. When ever i am steping through my code (mostly having to so
with
> > URL's and strings) i get these windows that pop up with the title of
> > different classes that my code is using. such as String.class; URL.class
> > etc. The rest of that window says "source not found; the jar file rt.jar
> has
> > no source attachment" I then have to click the step button many many
> times
> > to get through these various windows and back to steping through my
code.
> >
> > My question is, how can i either, prevent these windows from poping up.
or
> > tell the debugger to only step through my code and now worry about the
> > classes that are using them.
> >
> > thanks for the help
> > Karl
> >
> >
>
>
Re: debugger + class file editor [message #188054 is a reply to message #188045] Mon, 02 February 2004 02:37 Go to previous message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
"Karl Falconer" <trollman@optonline.net> wrote in message
news:bvk9ur$fen$1@eclipse.org...
> Hey, thanks for the reply. I am using build version 2.1.2
> I followed your instructions, and the only step filter that was seleted is
> labled "java.lang.ClassLoader". When i disable it, i can no longer click
the
> step button.
>
Right. The only default step filter is the ClassLoader class. You need to
add more for the debugger to filter out other locations.

Darins
Previous Topic:Testing hello world plug in visible= true
Next Topic:Partiton Bleeding? Eclipse 3
Goto Forum:
  


Current Time: Thu Apr 25 19:48:48 GMT 2024

Powered by FUDForum. Page generated in 0.03149 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top