facebook

Javascript breakpoints not working in 64bit Ubuntu

  1. MyEclipse Archived
  2.  > 
  3. Web 2.0 / AJAX
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #306224 Reply

    jkumma
    Member

    Hello,

    I tried the javascript debugging tutorial both in Win XP and Ubuntu 9.10 64 bit. In Win XP everything worked fine but in Ubuntu (my primary machine) the breakpoints did not work. Any tips to get it work?

    I’m using MyEclipse 8.0.

    t. JKumma

    #306236 Reply

    JKumma,
    Can you give some more details?
    1. Can you copy paste your installation details from MyEclipse > Installation Summary > Installation Details?
    2.

    the breakpoints did not work

    Can you explain in detail what exactly is happening?
    3. Can you list out the steps in detail to replicate your issue?
    4. Are there any errors logged in the log file located at workspace dir > .metadata > .log?

    #306240 Reply

    jkumma
    Member

    The breakpoints do not stop the program as it does in Windows. The following error was in .metadata logs:

    ————————– log begin——————————–

    eclipse.buildId=unknown
    java.version=1.6.0_13
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
    Command-line arguments: -os linux -ws gtk -arch x86_64

    This is a continuation of log file /home/markku/Workspaces/MyEclipse 8.x/.metadata/.bak_0.log
    Created Time: 2010-02-22 10:21:46.715

    !ENTRY org.eclipse.atf.mozilla.ide.debug 4 120 2010-02-22 10:21:46.715
    !MESSAGE Error logged from Debug Core:
    !STACK 0
    org.mozilla.xpcom.XPCOMException: The function “getServiceByContractID” returned an error condition (0x80040154)
    at org.mozilla.xpcom.internal.XPCOMJavaProxy.callXPCOMMethod(Native Method)
    at org.mozilla.xpcom.internal.XPCOMJavaProxy.invoke(XPCOMJavaProxy.java:143)
    at $Proxy8.getServiceByContractID(Unknown Source)
    at org.eclipse.atf.mozilla.ide.debug.MozillaDebugPlugin.getThreadManager(MozillaDebugPlugin.java:212)
    at org.eclipse.atf.mozilla.ide.debug.internal.model.JSDebugTarget.enterNestedEventLoop(JSDebugTarget.java:241)
    at org.eclipse.atf.mozilla.ide.debug.internal.model.JSDebugThread.waitLoop(JSDebugThread.java:577)
    at org.eclipse.atf.mozilla.ide.debug.internal.model.JSDebugThread.onExecute(JSDebugThread.java:537)
    at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
    at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1860)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3110)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

    ————————– log end ——————————–

    The installation summary:

    *** Date:
    Monday, February 22, 2010 10:32:53 AM EET

    ** System properties:
    OS=Linux
    OS version=2.6.31
    Java version=1.6.0_13

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 8.0
    Build id: 8.0-20091120

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 8.0
    Build id: 8.0-20091120

    Eclipse startup command=-os
    linux
    -ws
    gtk
    -arch
    x86_64
    -showsplash
    -launcher
    /home/jkumma/dev/MyEclipse/myeclipse
    -name
    Myeclipse
    –launcher.library
    /home/jkumma/dev/MyEclipse//Common/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.200.v20090519/eclipse_1206.so
    -startup
    /home/jkumma/dev/MyEclipse//Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
    -exitdata
    9b8011
    -install
    /home/jkumma/dev/MyEclipse
    -configuration
    /home/jkumma/dev/MyEclipse/configuration
    -vm
    /home/jkumma/dev/MyEclipse//Common/binary/com.sun.java.jdk.linux.x86_64_1.6.0.013/bin/java

    Best regards,
    JKumma

    #306406 Reply

    sklop
    Member

    I’m running 64bit ubuntu and having the same problem. I also see the same exception

    #307310 Reply

    Sreeramulu Jadapolu
    Participant

    I have been trying javascript debugger but no luck so far. Here is the installation summary and log file trace

    *** Date:
    Friday, April 2, 2010 8:31:34 PM GMT+05:30

    ** System properties:
    OS=MacOSX
    OS version=10.6.3
    Java version=1.6.0_17

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 8.0
    Build id: 8.0-20091120

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 8.0
    Build id: 8.0-20091120

    Eclipse startup command=-os
    macosx
    -ws
    carbon
    -arch
    x86
    -showsplash
    -launcher
    /Library/Genuitec/MyEclipse 8.x Latest/myeclipse.app/Contents/MacOS/myeclipse
    -name
    Myeclipse
    –launcher.library
    /Library/Genuitec/MyEclipse 8.x Latest/myeclipse.app/Contents/MacOS//../../../../Common/plugins/org.eclipse.equinox.launcher.carbon.macosx_1.0.200.v20090520-1835/eclipse_1206.so
    -startup
    /Library/Genuitec/MyEclipse 8.x Latest/myeclipse.app/Contents/MacOS/../../../../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
    -install
    /Library/Genuitec/MyEclipse 8.x Latest
    -configuration
    ../../../configuration
    -keyring
    /Users/sreeram/.eclipse_keyring
    -consoleLog
    -showlocation
    -vm
    /System/Library/Frameworks/JavaVM.framework

    !SESSION 2010-03-31 09:39:59.808 ———————————————–
    eclipse.buildId=unknown
    java.version=1.6.0_17
    java.vendor=Apple Inc.
    BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US
    Framework arguments: -keyring /Users/sreeram/.eclipse_keyring -showlocation
    Command-line arguments: -os macosx -ws carbon -arch x86 -keyring /Users/sreeram/.eclipse_keyring -consoleLog -showlocation

    This is a continuation of log file /Users/sreeram/Documents/pworkspace/.metadata/.bak_0.log
    Created Time: 2010-03-31 15:45:52.143

    !ENTRY org.eclipse.wst.jsdt.ui 4 0 2010-03-31 15:45:52.143
    !MESSAGE Error in JSDT Core during reconcile
    !STACK 1
    JavaScript Model Exception: java.lang.NullPointerException
    at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:298)
    at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:248)
    at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
    at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
    at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1066)
    at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
    at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
    at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
    at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
    at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1215)
    at org.eclipse.wst.jsdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:95)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.wst.jsdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:76)
    at org.eclipse.wst.jsdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:143)
    at org.eclipse.wst.jsdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:85)
    at org.eclipse.wst.jsdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:147)
    at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
    at org.eclipse.wst.jsdt.internal.ui.text.JavaReconciler.process(JavaReconciler.java:371)
    at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)
    Caused by: java.lang.NullPointerException
    at org.eclipse.wst.jsdt.internal.compiler.flow.UnconditionalFlowInfo.markAsDefinitelyNonNull(UnconditionalFlowInfo.java:1192)
    at org.eclipse.wst.jsdt.internal.compiler.ast.FieldReference.analyseAssignment(FieldReference.java:81)
    at org.eclipse.wst.jsdt.internal.compiler.ast.Assignment.analyseCode(Assignment.java:59)
    at org.eclipse.wst.jsdt.internal.compiler.ast.Block.analyseCode(Block.java:43)
    at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.analyseCode(IfStatement.java:92)
    at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.analyseCode(MethodDeclaration.java:94)
    at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.analyseCode(AbstractMethodDeclaration.java:112)
    at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.analyseCode(FunctionExpression.java:73)
    at org.eclipse.wst.jsdt.internal.compiler.ast.ObjectLiteralField.analyseCode(ObjectLiteralField.java:78)
    at org.eclipse.wst.jsdt.internal.compiler.ast.ObjectLiteral.analyseCode(ObjectLiteral.java:95)
    at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.analyseCode(LocalDeclaration.java:63)
    at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.analyseCode(MethodDeclaration.java:94)
    at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.analyseCode(AbstractMethodDeclaration.java:112)
    at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.analyseCode(FunctionExpression.java:73)
    at org.eclipse.wst.jsdt.internal.compiler.ast.ConditionalExpression.analyseCode(ConditionalExpression.java:70)
    at org.eclipse.wst.jsdt.internal.compiler.ast.ObjectLiteralField.analyseCode(ObjectLiteralField.java:78)
    at org.eclipse.wst.jsdt.internal.compiler.ast.ObjectLiteral.analyseCode(ObjectLiteral.java:95)
    at org.eclipse.wst.jsdt.internal.compiler.ast.FieldReference.analyseAssignment(FieldReference.java:92)
    at org.eclipse.wst.jsdt.internal.compiler.ast.Assignment.analyseCode(Assignment.java:59)
    at org.eclipse.wst.jsdt.internal.compiler.ast.CompilationUnitDeclaration.analyseCode(CompilationUnitDeclaration.java:164)
    at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:702)
    at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:258)
    … 18 more
    Caused by: java.lang.NullPointerException
    at org.eclipse.wst.jsdt.internal.compiler.flow.UnconditionalFlowInfo.markAsDefinitelyNonNull(UnconditionalFlowInfo.java:1192)
    at org.eclipse.wst.jsdt.internal.compiler.ast.FieldReference.analyseAssignment(FieldReference.java:81)
    at org.eclipse.wst.jsdt.internal.compiler.ast.Assignment.analyseCode(Assignment.java:59)
    at org.eclipse.wst.jsdt.internal.compiler.ast.Block.analyseCode(Block.java:43)
    at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.analyseCode(IfStatement.java:92)
    at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.analyseCode(MethodDeclaration.java:94)
    at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.analyseCode(AbstractMethodDeclaration.java:112)
    at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.analyseCode(FunctionExpression.java:73)
    at org.eclipse.wst.jsdt.internal.compiler.ast.ObjectLiteralField.analyseCode(ObjectLiteralField.java:78)
    at org.eclipse.wst.jsdt.internal.compiler.ast.ObjectLiteral.analyseCode(ObjectLiteral.java:95)
    at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.analyseCode(LocalDeclaration.java:63)
    at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.analyseCode(MethodDeclaration.java:94)
    at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.analyseCode(AbstractMethodDeclaration.java:112)
    at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.analyseCode(FunctionExpression.java:73)
    at org.eclipse.wst.jsdt.internal.compiler.ast.ConditionalExpression.analyseCode(ConditionalExpression.java:70)
    at org.eclipse.wst.jsdt.internal.compiler.ast.ObjectLiteralField.analyseCode(ObjectLiteralField.java:78)
    at org.eclipse.wst.jsdt.internal.compiler.ast.ObjectLiteral.analyseCode(ObjectLiteral.java:95)
    at org.eclipse.wst.jsdt.internal.compiler.ast.FieldReference.analyseAssignment(FieldReference.java:92)
    at org.eclipse.wst.jsdt.internal.compiler.ast.Assignment.analyseCode(Assignment.java:59)
    at org.eclipse.wst.jsdt.internal.compiler.ast.CompilationUnitDeclaration.analyseCode(CompilationUnitDeclaration.java:164)
    at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:702)
    at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:258)
    at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:248)
    at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
    at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
    at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1066)
    at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
    at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
    at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
    at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
    at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1215)
    at org.eclipse.wst.jsdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:95)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.wst.jsdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:76)
    at org.eclipse.wst.jsdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:143)
    at org.eclipse.wst.jsdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:85)
    at org.eclipse.wst.jsdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:147)
    at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
    at org.eclipse.wst.jsdt.internal.ui.text.JavaReconciler.process(JavaReconciler.java:371)
    at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)
    !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2010-03-31 15:45:52.144
    !MESSAGE java.lang.NullPointerException

    #307342 Reply

    jsreeram30
    There were some changes made for MyEclipse 8.5, can you upgrade to MyEclipse 8.5 and try again?
    Let us know how that works for you.

    #313597 Reply

    Doug
    Member

    Same issue for me using MyEclipse 8.6.1. Ubuntu 10.04 64bit. All JavaScript breakpoints are missed/skipped and the log has this error:

    !ENTRY org.eclipse.atf.mozilla.ide.debug 4 120 2011-01-08 20:16:10.995
    !MESSAGE Error logged from Debug Core:
    !STACK 0
    org.mozilla.xpcom.XPCOMException: The function “getServiceByContractID” returned an error condition (0x80040154)
    at org.mozilla.xpcom.internal.XPCOMJavaProxy.callXPCOMMethod(Native Method)
    at org.mozilla.xpcom.internal.XPCOMJavaProxy.invoke(XPCOMJavaProxy.java:143)
    at $Proxy1.getServiceByContractID(Unknown Source)
    at org.eclipse.atf.mozilla.ide.debug.MozillaDebugPlugin.getThreadManager(MozillaDebugPlugin.java:212)
    at org.eclipse.atf.mozilla.ide.debug.internal.model.JSDebugTarget.enterNestedEventLoop(JSDebugTarget.java:241)
    at org.eclipse.atf.mozilla.ide.debug.internal.model.JSDebugThread.waitLoop(JSDebugThread.java:577)
    at org.eclipse.atf.mozilla.ide.debug.internal.model.JSDebugThread.onExecute(JSDebugThread.java:537)
    at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
    at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:7603)
    at org.eclipse.swt.widgets.Display.eventProc(Display.java:1185)
    at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
    at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1860)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3110)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Javascript breakpoints not working in 64bit Ubuntu

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