Skip to main content



      Home
Home » Newcomers » Newcomers » Why won't eclipse 3.2.2 stop on breakpoints?
Why won't eclipse 3.2.2 stop on breakpoints? [message #209071] Sun, 06 May 2007 09:44 Go to next message
Eclipse UserFriend
Originally posted by: jeffadams78.yahoo.com

ARGH this is driving me nuts. I had eclipse 3.1 and everything was fine.
Now I upgraded to 3.2.2 (never upgrade when things are working!) and now
breakpoints don't work. Same code, same project, except it ignores
breakpoints. And I can't even interrupt the code by using "Run | Suspend"
or anything, all "Run" options are greyed out.

The only thing which indicates eclipse has any kind of connection with the
running app is the console output window, which does show console output.
And oddly enough, the "terminate" button (red square) in the console
window IS enabled (and works) even though "Run | Terminate" is greyed out.

This is not a complex app, just a small java swing app.
Re: Why won't eclipse 3.2.2 stop on breakpoints? [message #209079 is a reply to message #209071] Sun, 06 May 2007 12:24 Go to previous messageGo to next message
Eclipse UserFriend
Jeff wrote:

> ARGH this is driving me nuts. I had eclipse 3.1 and everything was fine.
> Now I upgraded to 3.2.2 (never upgrade when things are working!) and now
> breakpoints don't work. Same code, same project, except it ignores
> breakpoints. And I can't even interrupt the code by using "Run | Suspend"
> or anything, all "Run" options are greyed out.

> The only thing which indicates eclipse has any kind of connection with the
> running app is the console output window, which does show console output.
> And oddly enough, the "terminate" button (red square) in the console
> window IS enabled (and works) even though "Run | Terminate" is greyed out.

> This is not a complex app, just a small java swing app.

Hi. I started using Eclipse with 3.2.2, so I don't know if I can help. I
can say that breakpoints work fine. I assume that you have set it up using
the Run / Debug menu option to make sure you are running the application
you think you are. I've gotten messed up when the run or debug was running
a different program than the one I was currently working on. HTH. Mark
Re: Why won't eclipse 3.2.2 stop on breakpoints? [message #209109 is a reply to message #209079] Sun, 06 May 2007 20:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jeffadams78.yahoo.com

Yeah, it's running the right app. It's a swing (GUI) app so the screen
opens, I can use it, etc. I can change log statements and see the changes
take effect so I know it's running the correct version of the code too.
Thanks for replying anyway :-).
Re: Why won't eclipse 3.2.2 stop on breakpoints? [message #209115 is a reply to message #209109] Sun, 06 May 2007 20:50 Go to previous messageGo to next message
Eclipse UserFriend
Jeff wrote:

> Yeah, it's running the right app. It's a swing (GUI) app so the screen
> opens, I can use it, etc. I can change log statements and see the changes
> take effect so I know it's running the correct version of the code too.
> Thanks for replying anyway :-).

Hi Jeff. Have you tried putting a break point at the first line of main?
Or possibly check the box "stop in main"? Or maybe open the Breakpoints
view in the Debug perspective to make sure they are in there? HTH. Mark
Re: Why won't eclipse 3.2.2 stop on breakpoints? [message #209130 is a reply to message #209071] Sun, 06 May 2007 21:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

Jeff wrote:
> ARGH this is driving me nuts. I had eclipse 3.1 and everything was
> fine. Now I upgraded to 3.2.2 (never upgrade when things are working!)
> and now breakpoints don't work. Same code, same project, except it
> ignores breakpoints. And I can't even interrupt the code by using "Run
> | Suspend" or anything, all "Run" options are greyed out.
>
> The only thing which indicates eclipse has any kind of connection with
> the running app is the console output window, which does show console
> output. And oddly enough, the "terminate" button (red square) in the
> console window IS enabled (and works) even though "Run | Terminate" is
> greyed out.
>
> This is not a complex app, just a small java swing app.
>

Are you certain you are using Debug and not Run to launch the program?
Breakpoints and other debug functionality only works on an app that is
launched as Debug.

Hope this helps,
Eric
Re: Why won't eclipse 3.2.2 stop on breakpoints? [message #211654 is a reply to message #209115] Tue, 22 May 2007 20:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jeffadams78.yahoo.com

Yes. First line of main didn't help.
Where is the "stop in main" box of which you speak? I didn't see it
anywhere on the debug configuration.

Yes in the debug perspective the breakpoints are there and enabled
(checked).

Mark Dexter wrote:

> Hi Jeff. Have you tried putting a break point at the first line of main?
> Or possibly check the box "stop in main"? Or maybe open the Breakpoints
> view in the Debug perspective to make sure they are in there? HTH. Mark
Re: Why won't eclipse 3.2.2 stop on breakpoints? [message #211661 is a reply to message #209130] Tue, 22 May 2007 20:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jeffadams78.yahoo.com

I'm certain I'm clicking on the little "bug" icon, and selecting
"Debug...". I'm not certain it is actually running in "debug" mode
because as far as I can tell, nothing different happens than if I use
"run".


Eric Rizzo wrote:

> Are you certain you are using Debug and not Run to launch the program?
> Breakpoints and other debug functionality only works on an app that is
> launched as Debug.

> Hope this helps,
> Eric
Re: Why won't eclipse 3.2.2 stop on breakpoints? [message #211775 is a reply to message #211654] Wed, 23 May 2007 11:15 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

Jeff Adams wrote:
> Yes. First line of main didn't help.
> Where is the "stop in main" box of which you speak? I didn't see it
> anywhere on the debug configuration.

On the Main tab of the launch configuration, the last option is "Stop
in main."

If there are breakpoints set and they are not being hit, it suggests to
me that the launch configuration may be set up to use a different code
base than what you are browsing in your Java project. Can you try
deleting the launch config and creating a new one from the project?

Hope this helps,
Eric


> Mark Dexter wrote:
>
>> Hi Jeff. Have you tried putting a break point at the first line of
>> main? Or possibly check the box "stop in main"? Or maybe open the
>> Breakpoints view in the Debug perspective to make sure they are in
>> there? HTH. Mark
>
>
Previous Topic:variables view does not work anymore
Next Topic:redirecting
Goto Forum:
  


Current Time: Thu May 08 13:09:12 EDT 2025

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

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

Back to the top