chromy / Deeva

A simple, non-magical Java debugger.
1 stars 0 forks source link

WrongState when stepping to the last line of the program #3

Open bohomi opened 10 years ago

bohomi commented 10 years ago

com.sun.jdi.VMDisconnectedException: connection is closed Traceback (most recent call last): File "/homes/ad2611/Deeva/Deeva/deeva/debug.py", line 90, in _missing return getattr(self.__obj, name)(_args, *_kargs) File "/homes/ad2611/Deeva/Deeva/.env/local/lib/python2.7/site-packages/py4j/java_gateway.py", line 515, in call self.target_id, self.name) File "/homes/ad2611/Deeva/Deeva/.env/local/lib/python2.7/site-packages/py4j/protocol.py", line 300, in get_return_value format(target_id, '.', name), value) Py4JJavaError: An error occurred while calling o1.getHeapObject. : com.sun.jdi.VMDisconnectedException: connection is closed at com.sun.tools.jdi.TargetVM.send(TargetVM.java:293) at com.sun.tools.jdi.VirtualMachineImpl.sendToTarget(VirtualMachineImpl.java:1032) at com.sun.tools.jdi.PacketStream.send(PacketStream.java:59) at com.sun.tools.jdi.JDWP$VirtualMachine$ClassesBySignature.enqueueCommand(JDWP.java:125) at com.sun.tools.jdi.JDWP$VirtualMachine$ClassesBySignature.process(JDWP.java:111) at com.sun.tools.jdi.VirtualMachineImpl.retrieveClassesBySignature(VirtualMachineImpl.java:938) at com.sun.tools.jdi.VirtualMachineImpl.classesByName(VirtualMachineImpl.java:275) at deeva.Debug.getHeapObject(Debug.java:171) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:231) at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:379) at py4j.Gateway.invoke(Gateway.java:259) at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132) at py4j.commands.CallCommand.execute(CallCommand.java:79) at py4j.GatewayConnection.run(GatewayConnection.java:207) at java.lang.Thread.run(Thread.java:744)

None Error: Traceback (most recent call last): File "/homes/ad2611/Deeva/Deeva/.env/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/homes/ad2611/Deeva/Deeva/.env/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/homes/ad2611/Deeva/Deeva/.env/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/homes/ad2611/Deeva/Deeva/.env/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/homes/ad2611/Deeva/Deeva/.env/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functionsrule.endpoint File "/homes/ad2611/Deeva/Deeva/deeva/init.py", line 180, in get_heap_object heap_object = app.debugger.getHeapObject(unique_id, typestr) File "/homes/ad2611/Deeva/Deeva/deeva/debug.py", line 94, in _missing raise WrongState() WrongState None