| Author |
Message |
|
|
Post subject: Breakpoint problem [Closed]
Posted: 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 |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jun 24, 2003 - 11:23 PM
|
|
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
|
| |
|
|
|
 |
|
|
Post subject:
Posted: 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 |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jun 25, 2003 - 12:49 AM
|
|
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
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 16, 2003 - 07:38 PM
|
|
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. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 16, 2003 - 07:39 PM
|
|
Registered Member

Joined: Jun 20, 2003
Posts: 25
|
|
Also I have added the required weblogic.xml file to the META-INF directory. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 16, 2003 - 08:59 PM
|
|
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
|
| |
|
|
|
 |
|
|