MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
g8udxk
Post subject: Breakpoint problem [Closed]  PostPosted: Jun 24, 2003 - 11:13 PM



Joined: Jun 24, 2003
Posts: 2

I am using Weblogic 7.0 sp2 with eclipse 2.1. I set a breakpoint and launch weblogic using the MyEclipseButton->Weblogic->start menu. When that breakpoint is hit, nothing happens in eclipse. In the debug view everything appears to be running as if no breakpoint was hit. But the server seems to be stopped because the page is never returned to the browser. Remove the breakpoint and reload the page, everything works fine.

Any ideas?

David
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-scott
Post subject:   PostPosted: Jun 24, 2003 - 11:23 PM
Moderator
Moderator


Joined: May 06, 2003
Posts: 6760

David,

Once bit of confusion I've seen is that when a breakpoint is hit Eclipse will change to the Debug Perspective, but sometimes will not automatically display the Debug View. The distinction is important because it's the Debug view that shows the executions stack and which threads are at a breakpoint. From your description, it sounds like this might be happening to you. To be sure the Debug View is visible you can force it to be displayed by going to Window->Show View and selecting Debug from the Debug group. Could that be all it is?

--Scott
MyEclipse Support

_________________
--Scott
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
g8udxk
Post subject:   PostPosted: Jun 24, 2003 - 11:43 PM



Joined: Jun 24, 2003
Posts: 2

Scott,
Thanks for the quick response, I am looking at the debug perspective, and I have the debug view visible when I run the app. In fact the myeclipse button only shows up when looking at the debug perspective, that might be correct, don't know. I have confirmed that the "start weblogic means debug mode" button is selected in preferences.
- David
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-scott
Post subject:   PostPosted: Jun 25, 2003 - 12:49 AM
Moderator
Moderator


Joined: May 06, 2003
Posts: 6760

David,

Did you also provide WebLogic a valid weblogic.xml file to enable debugging, as is documented in the Documentation forum? Are you using our standard exploded deployment model by right-clicking on your project and selecting "Deploy..."?

Just to be clear, did you mean your running Eclipse 2.1 (Release version) and MyEclipse 2.1.1 EA2? Or some other combination?

Quote:

In fact the myeclipse button only shows up when looking at the debug perspective, that might be correct, don't know.

You can have the MyEclipse toolbar button in any perspective you like. Just show that perspective then choose Window->Customize Perspective->Other and select all the MyEclipse options.

--Scott
MyEclipse Support

_________________
--Scott
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
bedmonston
Post subject:   PostPosted: Jul 16, 2003 - 07:38 PM
Registered Member
Registered Member


Joined: Jun 20, 2003
Posts: 25

I am having this exact same problem (the breakpoint is never shown as being hit in the debugger, but a response is never sent to the browser either). Was there ever a resolution? I'm running Eclipse 2.1 and the latest release of MyEclipse.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
bedmonston
Post subject:   PostPosted: Jul 16, 2003 - 07:39 PM
Registered Member
Registered Member


Joined: Jun 20, 2003
Posts: 25

Also I have added the required weblogic.xml file to the META-INF directory.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-scott
Post subject:   PostPosted: Jul 16, 2003 - 08:59 PM
Moderator
Moderator


Joined: May 06, 2003
Posts: 6760

Unfortunately, we've never been able to replicate this behavior to determine the cause. One question though, which version of the JDK are you using to launch WebLogic? The reason I ask is that early versions of JDK 1.4 had a slew of bugs in their debugging implentations. We've never seen any issues with 1.4.1_03.

--Scott
MyEclipse Support

_________________
--Scott
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits