facebook

[Closed] JSP Debugging

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #245859 Reply

    hayedid
    Member

    Okay… I’m stumped. I really like the myEclipse product, but I can’t get the JSP debugger to work properly. I set my breakpoints and the code breaks at that point and jumps to the ‘debug perspective”. On the left hand side two windows popup. One of them is the jsp code that had the breakpoint in it (ie. the one I’m trying to debug). The second window is titled _jspService and displays “Source not found for somefile.jsp line: 53”. MyEclipse just found the breakpoint in and opened the source file that it says it can’t find.

    I’m using WebLogicServer 9. My project is a web project and I am using MyEclipse to deploy it.

    My WebLogic File does contain:
    <jsp-param>
    <param-name>precompile</param-name>
    <param-value>true</param-value>
    </jsp-param>
    <jsp-param>
    <param-name>keepgenerated</param-name>
    <param-value>true</param-value>
    </jsp-param>
    <jsp-param>
    <param-name>debug</param-name>
    <param-value>true</param-value>
    </jsp-param>

    What is causing this?

    How do I fix it?

    Thank you. 🙂

    #245896 Reply

    Riyad Kalla
    Member

    Can you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.

    Also to clarify, everything is working fine *except* MyEclipse is lying about not being able to find the file (which it can)?

    #245909 Reply

    hayedid
    Member

    *** Date: Thu Feb 02 09:20:51 MST 2006

    *** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_06

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.0.3 GA
    Build id: 20051025-4.0.3-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Platform

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse RCP

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Java Development Tools

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Plug-in Development Environment

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Project SDK

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    eb4_60
    -vm
    C:\WINDOWS\system32\javaw.exe

    ——————————————————————————-

    !ENTRY org.eclipse.ui 4 4 2006-02-02 09:19:40.859
    !MESSAGE Unhandled event loop exception

    !ENTRY org.eclipse.ui 4 0 2006-02-02 09:19:40.875
    !MESSAGE Widget is disposed
    !STACK 0
    org.eclipse.swt.SWTException: Widget is disposed
    at org.eclipse.swt.SWT.error(SWT.java:2942)
    at org.eclipse.swt.SWT.error(SWT.java:2865)
    at org.eclipse.swt.SWT.error(SWT.java:2836)
    at org.eclipse.swt.widgets.Widget.error(Widget.java:395)
    at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:297)
    at org.eclipse.swt.widgets.Table.getItems(Table.java:1405)
    at org.eclipse.jface.viewers.CheckboxTableViewer.preservingSelection(CheckboxTableViewer.java:274)
    at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1289)
    at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1246)
    at com.genuitec.eclipse.ast.deploy.core.ui.dialog.DeploymentManagerDialog$8.run(Unknown Source)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3057)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2716)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
    at org.eclipse.core.launcher.Main.run(Main.java:973)
    at org.eclipse.core.launcher.Main.main(Main.java:948)

    #245916 Reply

    Riyad Kalla
    Member

    Try restarting using the -clean command line argument, also please answer my 2nd question from above.

    #245951 Reply

    hayedid
    Member

    Also to clarify, everything is working fine *except* MyEclipse is lying about not being able to find the file (which it can)?

    Yes.

    #245954 Reply

    Riyad Kalla
    Member

    Did running with -clean help? If not, try stopping your app server, removing your deployment, rebuilding your project, redeploying it then restart your app server.

    #245957 Reply

    hayedid
    Member

    -clean did the trick! Thank you!

    #249523 Reply

    cwatson
    Member

    To clarify, by running with the -clean option do you mean the following?

    eclipse -clean

    #249531 Reply

    Riyad Kalla
    Member

    cwatson,
    Yes exactly

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: [Closed] JSP Debugging

You must be logged in to post in the forum log in