Code Monkey home page Code Monkey logo

Comments (6)

sraubal avatar sraubal commented on July 19, 2024

Hi,

we are experiencing problems that after specific code changes with DCEVM breakpoints do not work anymore (in Eclipse, if that matters).
Is that the problem you are adressing with this issue?
Is there any progress or work around you could provide until a solution is found?

(We tried patching Java 8 versions 05, 45 and 92.)

Thanks a lot,
Stefan

PS: We have been enjoying DCEVM for many years, but the breakpoint problems with Java 8 cause a lot of server restarts after code changes and cost a lot of time! :(

from dcevm.

andreasboos avatar andreasboos commented on July 19, 2024

+1
Hi.
I have this same problem but in netbeans. My version of java is also the 92.

Updating with netbeans log:

Annotation: An unexpected internal exception occured in debug interface layer. Please submit this to your JVM vendor.
Annotation: An unexpected internal exception occured in debug interface layer. Please submit this to your JVM vendor.
An unexpected internal exception occured in debug interface layer. Please submit this to your JVM vendor.
An unexpected internal exception occured in debug interface layer. Please submit this to your JVM vendor.
Caused: com.sun.jdi.InternalException: Unexpected JDWP Error: 40
at com.sun.tools.jdi.JDWPException.toJDIException(JDWPException.java:65)
at com.sun.tools.jdi.EventRequestManagerImpl$EventRequestImpl.set(EventRequestManagerImpl.java:204)
at com.sun.tools.jdi.EventRequestManagerImpl$EventRequestImpl.setEnabled(EventRequestManagerImpl.java:166)
at com.sun.tools.jdi.EventRequestManagerImpl$EventRequestImpl.enable(EventRequestManagerImpl.java:151)
[catch] at org.netbeans.modules.debugger.jpda.jdi.request.EventRequestWrapper.enable(EventRequestWrapper.java:128)
at org.netbeans.modules.debugger.jpda.breakpoints.BreakpointImpl.addEventRequest(BreakpointImpl.java:310)
at org.netbeans.modules.debugger.jpda.breakpoints.BreakpointImpl.addEventRequest(BreakpointImpl.java:270)
at org.netbeans.modules.debugger.jpda.breakpoints.LineBreakpointImpl.classLoaded(LineBreakpointImpl.java:370)
at org.netbeans.modules.debugger.jpda.breakpoints.ClassBasedBreakpoint.checkLoadedClasses(ClassBasedBreakpoint.java:505)
at org.netbeans.modules.debugger.jpda.breakpoints.LineBreakpointImpl.setRequests(LineBreakpointImpl.java:304)
at org.netbeans.modules.debugger.jpda.breakpoints.BreakpointImpl.update(BreakpointImpl.java:178)
at org.netbeans.modules.debugger.jpda.breakpoints.BreakpointImpl.fixed(BreakpointImpl.java:166)
at org.netbeans.modules.debugger.jpda.breakpoints.LineBreakpointImpl.fixed(LineBreakpointImpl.java:179)
at org.netbeans.modules.debugger.jpda.breakpoints.BreakpointsEngineListener.fixBreakpointImpls(BreakpointsEngineListener.java:307)
at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.fixBreakpoints(JPDADebuggerImpl.java:569)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.netbeans.modules.debugger.jpda.ant.JPDAAppReloaded.execute(JPDAAppReloaded.java:89)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor1469.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor1469.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor1469.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:286)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:555)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)

from dcevm.

pill4 avatar pill4 commented on July 19, 2024

Hi,

I am also facing this issue.
Here are the steps to repro.

1.) Attach debugger
2.) break at certain point.
3.) change the code. and hostswap.
4.) put one more break point and rerun the program.
5.) It doesn't break any more near any break points.

I found a workaround for this issue. delete all the breakpoints. Do a dummy code change just add a space and hotswap again and put a break point. re run the program now it breaks at the break point.

By the looks of the problem some condition is being missed. Can you please help in fixing this problem.

Thanks & Regards,
Rohith

from dcevm.

skybber avatar skybber commented on July 19, 2024

I've the same problem. According jstack the DCEMV is stopped on breakpoint, but the IDE is not aware of it. Eclipse shows the thread as running but jstack shows it as stopped.

from dcevm.

skybber avatar skybber commented on July 19, 2024

I've foud following eclipse issue 413848. Looks that the problem is on eclipse side. According the description the JRebel has some kind of fix of this.

from dcevm.

skybber avatar skybber commented on July 19, 2024

Dcevm8 breakpoint issue should be fixed in the latest release. The problem was in JVMTI layer. I did tests in Eclipse, that uses JVMTI over JDI as Netbeans does, therefore it can help to Netbeans too.

from dcevm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.