Question : Netbeans debugger problems

I am trying to debug with the JDK 1.2 Platform on this specific project using the Netbeans environment.  The program compiles and runs, I just can't debug.  See the error below.
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
Listening failed with arguments: {timeout=timeout=, name=name=}
java.io.IOException: shmemBase_listen failed: Cannot create a file when that file already exists 
        at org.netbeans.modules.debugger.jpda.ant.JPDAStart.execute(JPDAStart.java:244)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor161.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:278)
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:497)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
Caused by: java.io.IOException: shmemBase_listen failed: Cannot create a file when that file already exists 
        at com.sun.tools.jdi.SharedMemoryTransportService.startListening0(Native Method)
        at com.sun.tools.jdi.SharedMemoryTransportService.startListening(SharedMemoryTransportService.java:100)
        at com.sun.tools.jdi.GenericListeningConnector.startListening(GenericListeningConnector.java:96)
        at com.sun.tools.jdi.SharedMemoryListeningConnector.startListening(SharedMemoryListeningConnector.java:56)
        at org.netbeans.modules.debugger.jpda.ant.JPDAStart.run(JPDAStart.java:284)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:577)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1030)
--- Nested Exception ---
java.io.IOException: shmemBase_listen failed: Cannot create a file when that file already exists 
        at com.sun.tools.jdi.SharedMemoryTransportService.startListening0(Native Method)
        at com.sun.tools.jdi.SharedMemoryTransportService.startListening(SharedMemoryTransportService.java:100)
        at com.sun.tools.jdi.GenericListeningConnector.startListening(GenericListeningConnector.java:96)
        at com.sun.tools.jdi.SharedMemoryListeningConnector.startListening(SharedMemoryListeningConnector.java:56)
        at org.netbeans.modules.debugger.jpda.ant.JPDAStart.run(JPDAStart.java:284)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:577)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1030)
java.io.IOException: shmemBase_listen failed: Cannot create a file when that file already exists
        at com.sun.tools.jdi.SharedMemoryTransportService.startListening0(Native Method)
        at com.sun.tools.jdi.SharedMemoryTransportService.startListening(SharedMemoryTransportService.java:100)
        at com.sun.tools.jdi.GenericListeningConnector.startListening(GenericListeningConnector.java:96)
        at com.sun.tools.jdi.SharedMemoryListeningConnector.startListening(SharedMemoryListeningConnector.java:56)
        at org.netbeans.modules.debugger.jpda.ant.JPDAStart.run(JPDAStart.java:284)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:577)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1030)

Answer : Netbeans debugger problems

Try running the clean task first
Random Solutions  
 
programming4us programming4us