那里不是有DEBUG吗,不过好象不是很好用,可能需要配置的吧;

解决方案 »

  1.   

    我尝试配置IBM公司的jc.EXE来作为GUI调试工具,整合到JCreatorPro,但是在IBM官方网站上下载这个程序时,因为看见它标明是60天注册版就放弃了,其实,IBM的jc比SUN公司免费的JDB要好用许多。谁会?
      

  2.   

    How to: Use the Debugger about Jcp
     
    The debugger helps you find and fix bugs in Java language programs. The debugger requires a project environment in order to run. You can start the debugger via the menu Build or with the key combination (Ctrl+F5). JCreator will start jdb.exe as a childprocess with the parameters obtained from the current project, jdb invokes a second Java VM, loads the specified class, and stops the Virtual Machine before executing that class's first instruction.
    Before or during the execution you can set breakpoints. A breakpoint tells debugger where to stop. You can set them using the context menu of the editor. Place somewhere in your code a breakpoint and start the debugger. The debugger will run until the breakpoint, from there you can step through the code using F10 and F11. With the command (Dump) you can watch class variables by first selecting the variable name, followed by F8. It is not possible to watch variables within the method context, unless you enable the 'include debug info' checkbox of the compiler tool.More information about the debugger can be found in the JDK Document. Search for jdb.exe (Help | JDK Help). You can setup the JavaDocs via the menu Configure >> Options >> JDK Profiles >> Edit
     
      

  3.   

    jcreator我常用,不过debugger不用,我是自己调试的
      

  4.   

    是的,我知道可以从JCreator Pro自带的帮助文档里看到有关debugger的信息,但是,这个和我要知道的结合IBM公司的jc调试器无关啊。我现在用的就是Sun免费的jdb.EXE来调试的(JCreatro Pro已经内嵌该工具),总体给人的感觉是不大方便,需要用到太多的命令来调试,不过现在已经用的比较熟练了。呵呵……