Go to Post Dear CNN, We're not from indiana. Love, Wildstang - AlecMataloni [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 02-14-2010, 08:37 PM
David Fort David Fort is offline
Registered User
FRC #1001
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2003
Location: Cleveland, OH
Posts: 26
David Fort is on a distinguished road
NetBeans Java Debugger Connects once, but not again

On 2 different computers, when I first installed NetBeans, I was able to run and debug one of the sample programs.

But after that first success, I haven't been able to do it again.

This is the output I get, starting with what looks like some successful messages from constructors and whatnot.
(i have a breakpoint set in the constructor that seems to be printing the "Iterative Robot ConstructorStart" message):
[cRIO] FPGA Hardware GUID: 0xad9a5591cc64e4df756d77d1b57a549e
[cRIO] FPGA Software GUID: 0xad9a5591cc64e4df756d77d1b57a549e
[cRIO] IterativeRobot Constructor Start
[cRIO] IterativeRobot Constructor Finish
Waiting for connection from debugger on serversocket://:2900
Synchronizing debug state with VM...............
Established connection to Debugger (handshake took 8376ms)
[cRIO] !!! no thread found waiting on event=== DEAD-LOCK STATUS: ===
[cRIO] --- isolate 2 "edu.wpi.first.wpilibj.samples.CircleTrackerDe mo" (ALIVE) status ---
[cRIO] thread Thread-10 priority: 5 state: ALIVE queue: RUNNABLE
[cRIO] at com.sun.squawk.VMThread.monitorWait(VMThread.java: 2298)
[cRIO] at java.lang.Object.wait(Object.java:162)
[cRIO] at java.util.TimerThread.mainLoop(Timer.java:439)
[cRIO] at java.util.TimerThread.run(Timer.java:391)
[cRIO] at com.sun.squawk.VMThread.callRun(VMThread.java:1499 )
[cRIO] at com.sun.squawk.VM.callRun(VM.java:305)
[cRIO] thread Thread-9 priority: 5 state: ALIVE queue: RUNNABLE
[cRIO] at com.sun.squawk.VMThread.monitorWait(VMThread.java: 2298)
[cRIO] at java.lang.Object.wait(Object.java:162)
[cRIO] at java.util.TimerThread.mainLoop(Timer.java:439)
[cRIO] at java.util.TimerThread.run(Timer.java:391)
[cRIO] at com.sun.squawk.VMThread.callRun(VMThread.java:1499 )
[cRIO] at com.sun.squawk.VM.callRun(VM.java:305)
[cRIO] thread FRCDriverStation priority: 5 state: ALIVE queue: RUNNABLE
[cRIO] at com.sun.squawk.VMThread.waitForEvent(VMThread.java :1863)
[cRIO] at com.sun.squawk.NativeUnsafe.waitForBlockingFunctio n(NativeUnsafe.java:641)
[cRIO] at com.sun.cldc.jna.BlockingFunction.call2(BlockingFu nction.java:113)
[cRIO] at com.sun.cldc.jna.Function.call2(Function.java:271)
[cRIO] in static method #1 of edu.wpi.first.wpilibj.communication.FRCControl(bci =15)
[cRIO] in virtual method #12 of edu.wpi.first.wpilibj.DriverStation(bci=10)
[cRIO] in virtual method #11 of edu.wpi.first.wpilibj.DriverStation(bci=9)
[cRIO] in static method #2 of edu.wpi.first.wpilibj.DriverStation(bci=5)
[cRIO] at edu.wpi.first.wpilibj.DriverStation$DriverStationT ask.run(bci=6)
[cRIO] at java.lang.Thread.run(Thread.java:231)
[cRIO] at com.sun.squawk.VMThread.callRun(VMThread.java:1499 )
[cRIO] at com.sun.squawk.VM.callRun(VM.java:305)
[cRIO] thread edu.wpi.first.wpilibj.samples.CircleTrackerDemo - main priority: 5 state: ALIVE queue: RUNNABLE
[cRIO] at com.sun.squawk.VMThread.monitorWait(VMThread.java: 2298)
[cRIO] at java.lang.Object.wait(Object.java:162)
[cRIO] at java.lang.Object.wait(Object.java:257)
[cRIO] at com.sun.squawk.debugger.EventNotifier.produceEvent (EventNotifier.java:122)
[cRIO] at com.sun.squawk.debugger.EventManager.produceEvent( EventManager.java:184)
[cRIO] at com.sun.squawk.debugger.sda.SDA.notifyEvent(SDA.ja va:1044)
[cRIO] at com.sun.squawk.imp.MIDletMainWrapper.main(MIDletMa inWrapper.java:104)
[cRIO] at com.sun.squawk.Klass.main(Klass.java:2997)
[cRIO] at com.sun.squawk.Isolate.run(Isolate.java:1554)
[cRIO] at java.lang.Thread.run(Thread.java:231)
[cRIO] at com.sun.squawk.VMThread.callRun(VMThread.java:1499 )
[cRIO] at com.sun.squawk.VM.callRun(VM.java:305)
[cRIO] --- isolate 1 "com.sun.squawk.debugger.sda.SDA" (ALIVE) status ---
[cRIO] thread EventManager priority: 5 state: ALIVE queue: CONDVAR waiting on condvar for object com.sun.squawk.debugger.EventNotifier@10
[cRIO] at com.sun.squawk.VMThread.monitorWait(VMThread.java: 2298)
[cRIO] at java.lang.Object.wait(Object.java:162)
[cRIO] at java.lang.Object.wait(Object.java:257)
[cRIO] at com.sun.squawk.debugger.EventNotifier.consumeEvent (EventNotifier.java:156)
[cRIO] at com.sun.squawk.debugger.EventManager.run(EventMana ger.java:65)
[cRIO] at com.sun.squawk.debugger.sda.SDA$SDAEventManager.ru n(SDA.java:608)
[cRIO] at java.lang.Thread.run(Thread.java:231)
[cRIO] at com.sun.squawk.VMThread.callRun(VMThread.java:1499 )
[cRIO] at com.sun.squawk.VM.callRun(VM.java:305)
[cRIO] thread SDPListener priority: 5 state: ALIVE queue: EVENT
[cRIO] at com.sun.squawk.VMThread.waitForOSEvent(VMThread.ja va:1910)
[cRIO] at com.sun.squawk.platform.posix.SystemEventsImpl.wai tForReadEvent(SystemEventsImpl.java:306)
[cRIO] at com.sun.squawk.platform.posix.GCFSocketsImpl.readB uf(GCFSocketsImpl.java:303)
[cRIO] at com.sun.squawk.platform.posix.GCFSocketsImpl.readB yte(GCFSocketsImpl.java:337)
[cRIO] at com.sun.squawk.io.j2me.socket.PrivateInputStream.r ead(Protocol.java:356)
[cRIO] at java.io.DataInputStream.read(DataInputStream.java: 91)
[cRIO] at java.io.DataInputStream.readInt(DataInputStream.ja va:332)
[cRIO] at com.sun.squawk.debugger.JDWPConnection.readPacket( JDWPConnection.java:192)
[cRIO] at com.sun.squawk.debugger.JDWPListener.run(JDWPListe ner.java:122)
[cRIO] at java.lang.Thread.run(Thread.java:231)
[cRIO] at com.sun.squawk.VMThread.callRun(VMThread.java:1499 )
[cRIO] at com.sun.squawk.VM.callRun(VM.java:305)
[cRIO] thread SDA priority: 5 state: ALIVE queue: JOIN
[cRIO] at com.sun.squawk.VMThread.join(VMThread.java:484)
[cRIO] at java.lang.Thread.join(Thread.java:323)
[cRIO] at com.sun.squawk.debugger.sda.SDA.go(SDA.java:1381)
[cRIO] at com.sun.squawk.debugger.sda.SDA.main(SDA.java:1441 )
[cRIO] at com.sun.squawk.Klass.main(Klass.java:2997)
[cRIO] at com.sun.squawk.Isolate.run(Isolate.java:1554)
[cRIO] at java.lang.Thread.run(Thread.java:231)
[cRIO] at com.sun.squawk.VMThread.callRun(VMThread.java:1499 )
[cRIO] at com.sun.squawk.VM.callRun(VM.java:305)
[cRIO] --- isolate 0 "com.sun.squawk.JavaApplicationManager" (ALIVE) status ---
[cRIO] thread IOHandler priority: 5 state: ALIVE queue: CONDVAR waiting on condvar for object com.sun.squawk.platform.posix.SystemEventsImpl@11
[cRIO] at com.sun.squawk.VM.reifyStack(VM.java:1029)
[cRIO] at com.sun.squawk.VMThread.printStackTrace(VMThread.j ava:1752)
[cRIO] at com.sun.squawk.Isolate.printAllThreadStates(Isolat e.java:2696)
[cRIO] at com.sun.squawk.Isolate.printAllIsolateStates(Isola te.java:2712)
[cRIO] at com.sun.squawk.VMThread.rescheduleNext(VMThread.ja va:1606)
[cRIO] at com.sun.squawk.VMThread.reschedule(VMThread.java:1 781)
[cRIO] at com.sun.squawk.VMThread.monitorWait(VMThread.java: 2298)
[cRIO] at java.lang.Object.wait(Object.java:162)
[cRIO] at com.sun.squawk.platform.posix.SystemEventsImpl.wai tForEvents(SystemEventsImpl.java:223)
[cRIO] at com.sun.squawk.platform.SystemEvents.run(SystemEve nts.java:71)
[cRIO] at java.lang.Thread.run(Thread.java:231)
[cRIO] at com.sun.squawk.VMThread.callRun(VMThread.java:1499 )
[cRIO] at com.sun.squawk.VM.callRun(VM.java:305)
[cRIO] thread primitve-thread priority: 5 state: ALIVE queue: ISOLATEJOIN
[cRIO] at com.sun.squawk.VMThread.isolateJoin(VMThread.java: 504)
[cRIO] at com.sun.squawk.Isolate.join(Isolate.java:1575)
[cRIO] at com.sun.squawk.JavaApplicationManager.main(JavaApp licationManager.java:150)
[cRIO] at com.sun.squawk.Klass.main(Klass.java:2997)
[cRIO] at com.sun.squawk.Isolate.run(Isolate.java:1554)
[cRIO] at java.lang.Thread.run(Thread.java:231)
[cRIO] at com.sun.squawk.VMThread.callRun(VMThread.java:1499 )
[cRIO] at com.sun.squawk.VM.callRun(VM.java:305)


none of the debug buttons, such as step or pause or go are enabled.

Suggestions anyone?

Thanks much.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Netbeans/Overall Java/Code help!!! a kenny03 Java 5 01-18-2010 10:32 PM
Please once again help us 1166 Electrical 3 02-03-2004 10:04 PM
Approaching Pneumatics..once again archiver 2000 2 06-24-2002 12:38 AM
Once again offering problems, but no solutions archiver 2000 1 06-23-2002 10:53 PM
GMCIA - It's time once again... archiver 2001 2 06-23-2002 10:35 PM


All times are GMT -5. The time now is 08:29 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi