Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Debugging with Java 1.1

 
Miro Ricco
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Experts
Can someone help me how can I debug Java 1.1 project ?
I started to use NetBeans 3.5 with DebuggerTools module, but I'm new to NetBeans and I don't know how to use it. It reports an exception:
Annotation: Exception occurred in Request Processor
java.lang.NoSuchMethodError
at org.netbeans.modules.debugger.debug.ToolsDebugger.startDebugger(ToolsDebugger.java:210)
at org.netbeans.modules.debugger.multisession.EnterpriseDebugger.startDebugger(EnterpriseDebugger.java:215)
at org.netbeans.modules.debugger.delegator.DefaultDebuggerType.startDebugger(DefaultDebuggerType.java:151)
at org.netbeans.modules.debugger.support.ProcessDebuggerType.startDebugger(ProcessDebuggerType.java:234)
at org.openide.debugger.DebuggerType.startDebugger(DebuggerType.java:64)
at org.openide.loaders.ExecSupport.debug(ExecSupport.java:75)
at org.netbeans.modules.debugger.support.actions.StartAction.performAction(StartAction.java:90)
at org.openide.util.actions.NodeAction.performAction(NodeAction.java:184)
at org.openide.util.actions.NodeAction.actionPerformed(NodeAction.java:175)
at org.netbeans.core.ModuleActions$1.run(ModuleActions.java:97)
at org.openide.util.Task.run(Task.java:136)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:328)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:670)
Thanks to all in advance.
Mirec
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JVMDI (Java Virtual Machine Debugger Interface), which all modern debuggers are based on, was introduced, I believe, in JDK 1.3; so these debuggers simply can't work with an older JVM.
The old JDK should come with a copy of the command-line debugger "jdb" however, and perhaps you could use that instead.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic