for download at http://sunsite.auc.dk/jde/ JDE-2.1.6beta17 Release Notes ============================= * Added Processes->Listen commands to the JDEBug menu. These commands cause the debugger to listen on a socket or in shared memory (the latter option available only on Windows) for applications requesting debug services. To use these commands, you must specify the following vm options when starting the debuggee application: -Xdebug -Xnoagent -Xrunjdwp:transport=TRANSPORT,address=ADDRESS,server=y,suspend=n where TRANSPORT is either dt_shmem (shared memory connection) or dt_socket (socket) connection and ADDRESS is an arbitrary string for shared memory connections or a port number for socket connections. JDEBug prompts you to enter ADDRESS when you execute the JDEbug->Processes->Listen command. In addition, if you are using JDK1.3 to launch the debuggee client, you must use the -Xbootclasspath to include the JPDA tools in the debuggee vm's classpath. -Xbootclasspath:e:/jdk1.3/jre/lib/rt.jar;e:/jdk1.3/lib/tools.jar Here is an example of a typical command line to launch a debuggee client, using JDK1.3: java -classpath d:/myapp/myapp.jar -Xdebug -Xnoagent -Xrunjdwp:transport=dt_shmem,address=myapp,server=y,suspend=n -Xbootclasspath:e:/jdk1.3/jre/lib/rt.jar;e:/jdk1.3/lib/tools.jar com.myorg.myapp.Main When you launch a Java application with these options, the vm halts before running the app's main method and attempts to connect with a debugger. Once the connection is made, the debugger is in complete control of the app. For example, the app won't run until the debugger issues a continue command. This means you can set breakpoints in the debuggee apps startup code. This debugger server mode option is particularly useful if you are developing a non-Java application that embeds a Java vm. For example, you can put a command line switch on your app that causes it to start its internal vm in debuggee client mode. The internal vm will then immediately connect to the debugger allowing you to debug the app's Java startup code. * Moved Bootstrap.virtualMachineManager().getConnectors() off command thread as this is suspected of causing launch problems on some Windows/NT systems. * Provide choice of coding styles for code generated by templates. The styles are Modern (new line before opening brace) and Kernighan & Ritchie (no new line). Type C-h v jde-gen-k&r for more information. Note that if you are using project files, you must set jde-gen-k&r on or off, restart Emacs, and reset each of the template variables to there default settings and then resave your project file. Thanks to Jari Aalto for this enhancement. * Modified the Jdb->Set Breakpoint command to set breakpoints correctly in inner classes. This command generates the correct jdb command stop at A.$B:L# where A is the name of the outer class and B is the name of the inner class. NOTE: this applies to JDE's support for jdb, the debugger that comes with the JDK. It does not apply to JDEbug, the JDE's own built-in debugger. Thanks to Francois Cogne <[EMAIL PROTECTED]> for providing this enhancement. * Fixed beanshell startup bug on Unix platforms. * You can now use the notation [f1], [f2], etc., to specify function keys when customizing jde-key-bindings. * Fixed several incompatibilities between JDEbug and XEmacs. ============================================================================ About the JDE ============================================================================ The Java Development Environment for Emacs is a freeware Emacs/JDK-based IDE for creating Java applications. It has all the features usually associated with the term IDE except for a GUI designer. Advantages of the IDE include speed, reliability, multiple platforms (WIndows and Unix), and configurability. Technical support is available via the JDE mailing list which currently numbers 594 subscribers. JDE Features ------------------- * Supports all versions of the Sun JDK, including 1.3 beta * Autoindentation * syntax coloring * JPDA-based source-level debugger that supports multiple process debugging * Java source interpreter * Intelligent method and field completion * Tree-structured source-code browser * Class browser * Hyperlinks from symbols to definitions * Automatic customizable code generation * Class import wizard * Method override wizard * Context-sensitive help for any classes that have javadoc documentation. * Built-in support for RCS and CVS source code repositories * Commands for running and debugging applets * HTML user's guide
