Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[Dltk-dev] Re: InteruptedException starting debugger


  i figured out what my problem was - my script couldn't find one of it's required libraries the 'live' environment and was throwing an error when it first ran. *sheepish grin* 

  it does look like stderr output is being lost though. i tried setting the 'capture output' attribute to true on the launch, but that didn't work as expected. stderr got sent to the console, but stdout did not.

On Fri, Mar 14, 2008 at 11:20 PM, Jae Gangemi <jgangemi@xxxxxxxxx> wrote:
hello all -

  i'm getting a NullPointerException when i try to start a debugging session on windows. i tracked down the problem to an InteruptedException that is thrown parsing the session data out of the engine response packet (DbgpSession line 88).

  the wierd thing is, this doesn't happen in a pde debugger session, only when the plugin is installed into eclipse for actual use.

  here's a stack trace from the InteruptedException (i rethrew it as a RuntimeException so i could get it to show in the .log file)

java.lang.RuntimeException: java.lang.InterruptedException
    at org.eclipse.dltk.dbgp.internal.DbgpSession.<init>(DbgpSession.java:91)
    at org.eclipse.dltk.dbgp.DbgpServer$1.run(DbgpServer.java:77)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.InterruptedException
    at org.eclipse.dltk.dbgp.internal.packets.DbgpPacketReceiver$ResponcePacketWaiter.waitPacket(DbgpPacketReceiver.java:61)
    at org.eclipse.dltk.dbgp.internal.packets.DbgpPacketReceiver.getResponsePacket(DbgpPacketReceiver.java:163)
    at org.eclipse.dltk.dbgp.internal.DbgpDebugingEngine.getResponsePacket(DbgpDebugingEngine.java:75)
    at org.eclipse.dltk.dbgp.internal.DbgpSession.<init>(DbgpSession.java:84)
    ... 2 more


--
-jae



--
-jae

Back to the top