Skip to main content



      Home
Home » Newcomers » Newcomers » start debugger at beginning
start debugger at beginning [message #124807] Mon, 19 December 2005 12:20 Go to next message
Eclipse UserFriend
Originally posted by: tmcguire.go-integral.com

I am looking for a way to start debugging from the "beginning". I know
the immediate answer would be, put a breakpoint at the start of the
program, but in a few situations, I am running code in a larger
framework and I have no idea which classes are running before it gets to
my code. So, how do I tell Eclipse, step through from the beginning?

Thanks a bunch!
Re: start debugger at beginning [message #125030 is a reply to message #124807] Tue, 20 December 2005 10:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ajkloft.msn.com

I'm not exactly sure if this is what you are looking for, but as you
debug, if you put a breakpoint at the end of your "main" class, then step
through the code using F6, if you press F5 at a method or anything, you
will jump to where the method was made in any class (at least I think F5
is what the shortcut key is). Hope that helps a little. If not, sorry.
Good luck!
Re: start debugger at beginning [message #125194 is a reply to message #124807] Tue, 20 December 2005 16:00 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse3.rizzoweb.com

Tim McGuire wrote:
> I am looking for a way to start debugging from the "beginning". I know
> the immediate answer would be, put a breakpoint at the start of the
> program, but in a few situations, I am running code in a larger
> framework and I have no idea which classes are running before it gets to
> my code. So, how do I tell Eclipse, step through from the beginning?
>
> Thanks a bunch!

In the Launch Configuration for the program you are debugging, there is
an option on the Main tab "Stop in main()" - check that and it will stop
in the main method before beginning to execute.

HTH,
Eric
Previous Topic:Build project
Next Topic:color
Goto Forum:
  


Current Time: Wed Jul 16 15:03:15 EDT 2025

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

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

Back to the top