Please enter the details of your bug report here

  ../jde-2.1.6beta23/doc/jdebug/ug/jdebug-ug-content.html

In this guide, a process refers to a running instance of an application.
JDEBug provides two commands for launching processes.
             .....
             JDE->Debug App 

             This command performs the following actions:

                   1.Starts the debugger, if necessary. 
                   2.Launches the application. 
                   3.Sets any breakpoints you have previously specified
                     (see Setting Breakpoints).
                   4.Runs the application. 

Note With this command, the application will simply run to completion
without stopping, if you have not previously specified any valid 
breakpoints for the application or none of the breakpoints exist on the main
execution path.

<<<<<<<<<<<<<<< *********************** 

I am having trouble clearing breakpoints during and after launching
processes via Debug App.  Here is some code, see the JDEbug buffer
contents below.

public class Junk {
  
  public static void main(String[] args) {
    int[] v = new int[5];                    //  <----- line 16
    Foo g = new Foo(10, null);
    Foo h = new Foo(20, g);
    Foo k = new Foo(30, h);
//    k.element();
    Integer q = new Integer(10);
    Character p = new Character('b');
    for (int i=0; i<5; i++) {
      v[i] = 1 + 5*i;
    }
    System.out.println("hello world");
  }
  
} // Junk

class Foo  {
  
  private int mElement;
  private Foo mBar;
  private int[] vv;

  public Foo(int a, Foo b) {
    mElement = a;                            // <------ line 38
    mBar = b;
    vv = new int[5];
    vv[0] = 17;
    vv[1] = 51;
    vv[2] = 34;
    vv[3] = -17;
    vv[4] = -51;
  }

  ....
  
} // Foo

A brief script
{
  set breakpoint line 16
  set breakpoint line 38
  Debug App --> bkpt hit at line 16
  Continue --> bkpt hit at line 38
  Clear Breakpoint - highliht goes away, no other response, 
           minibuffer displays "menubar JDEbug Clear BreakPoint"
  Continue --> bkpt hit at line 38
  Clear Breakpoint - no response, 
           minibuffer displays "menubar JDEbug Clear BreakPoint"
  Continue --> bkpt hit at line 38
  Clear Breakpoint - no response, 
           minibuffer displays "menubar JDEbug Clear BreakPoint"
  Continue --> vm disconnected
  Clear Breakpoint - no response, 
           minibuffer displays "menubar JDEbug Clear BreakPoint"
  
  
  Debug App --> bkpt hit at line 16
  Continue --> bkpt hit at line 38   <----------- **************
  finish process
}

It seems to me that execution should not stop at line 38 anymore
>>>>>>>>>>> ****************************

Emacs  : GNU Emacs 20.6.1 (i386-*-windows95.1111)
 of Tue Feb 29 2000 on buffy
Package: JDE version 2.1.6beta23

current state:
==============
(setq
 jde-gen-session-bean-template '("(jde-wiz-insert-imports-into-buffer (list 
\"javax.ejb.*\"\n\"java.rmi.RemoteException\"))" "(jde-wiz-update-implements-clause 
\"SessionBean\")" "'> \"public void ejbActivate() throws RemoteException {\"'n> 
\"}\"'n\n'n" "'> \"public void ejbPassivate() throws RemoteException {\"'n> 
\"}\"'n\n'n" "'> \"public void ejbRemove() throws RemoteException {\"'n> \"}\"'n 'n" 
"'> \"public void setSessionContext(SessionContext ctx) throws\nRemoteException {\"" 
"'n> \"}\"'n 'n" "'> \"public void unsetSessionContext() throws RemoteException 
{\"'n>\n\"}\"'n 'n")
 jde-run-classic-mode-vm nil
 jde-gen-code-templates '(("Get Set Pair" . jde-gen-get-set)
                          ("toString method" . jde-gen-to-string-method)
                          ("Action Listener" . jde-gen-action-listener)
                          ("Window Listener" . jde-gen-window-listener)
                          ("Mouse Listener" . jde-gen-mouse-listener)
                          ("Mouse Motion Listener" . jde-gen-mouse-motion-listener)
                          ("Inner Class" . jde-gen-inner-class) ("println" . 
jde-gen-println)
                          ("property change support" . jde-gen-property-change-support)
                          ("EJB Entity Bean" . jde-gen-entity-bean)
                          ("EJB Session Bean" . jde-gen-session-bean))
 jde-make-args ""
 jde-mode-abbreviations '(("ab" . "abstract") ("bo" . "boolean") ("br" . "break") 
("by" . "byte")
                          ("byv" . "byvalue") ("cas" . "cast") ("ca" . "catch") ("ch" 
. "char")
                          ("cl" . "class") ("co" . "const") ("con" . "continue")
                          ("de" . "default") ("dou" . "double") ("el" . "else") ("ex" 
. "extends")
                          ("fa" . "false") ("fi" . "final") ("fin" . "finally") ("fl" 
. "float")
                          ("fo" . "for") ("fu" . "future") ("ge" . "generic") ("go" . 
"goto")
                          ("impl" . "implements") ("impo" . "import") ("ins" . 
"instanceof")
                          ("in" . "int") ("inte" . "interface") ("lo" . "long") ("na" 
. "native")
                          ("ne" . "new") ("nu" . "null") ("pa" . "package") ("pri" . 
"private")
                          ("pro" . "protected") ("pu" . "public") ("re" . "return")
                          ("sh" . "short") ("st" . "static") ("su" . "super") ("sw" . 
"switch")
                          ("sy" . "synchronized") ("th" . "this") ("thr" . "throw")
                          ("throw" . "throws") ("tra" . "transient") ("tr" . "true")
                          ("vo" . "void") ("vol" . "volatile") ("wh" . "while"))
 jde-compile-option-verbose nil
 jde-db-option-heap-size '((1 . "megabytes") (16 . "megabytes"))
 jde-bug-breakpoint-marker-colors '("red" . "yellow")
 jde-gen-buffer-boilerplate nil
 jde-db-option-application-args nil
 jde-bug-vm-includes-jpda-p nil
 jde-gen-jfc-app-buffer-template '("(funcall jde-gen-boilerplate-function) 'n"
                                   "\"import java.awt.Dimension;\" 'n"
                                   "\"import java.awt.Graphics;\" 'n"
                                   "\"import java.awt.Graphics2D;\" 'n"
                                   "\"import java.awt.Color;\" 'n"
                                   "\"import java.awt.geom.Ellipse2D;\" 'n"
                                   "\"import java.awt.event.WindowAdapter;\" 'n"
                                   "\"import java.awt.event.WindowEvent;\" 'n"
                                   "\"import javax.swing.JFrame;\" 'n"
                                   "\"import javax.swing.JPanel;\" 'n"
                                   "\"import javax.swing.JScrollPane;\" 'n"
                                   "\"import javax.swing.JMenuBar;\" 'n"
                                   "\"import javax.swing.JMenu;\" 'n"
                                   "\"import java.awt.event.ActionEvent;\" 'n"
                                   "\"import javax.swing.AbstractAction;\" 'n 'n" 
"\"/**\" 'n"
                                   "\" * \"" "(file-name-nondirectory 
buffer-file-name) 'n"
                                   "\" *\" 'n" "\" *\" 'n"
                                   "\" * Created: \" (current-time-string) 'n" "\" *\" 
'n"
                                   "\" * @author \" (user-full-name) 'n" "\" * 
@version\" 'n"
                                   "\" */\" 'n>" "'n>" "\"public class \""
                                   "(file-name-sans-extension (file-name-nondirectory 
buffer-file-name))" "\" extends JFrame\"" "\" {\"  'n>" "" "\"class Canvas extends 
JPanel\"" "\" {\"  'n>" "" "\"public Canvas () \"" "\" {\"  'n>" "" 
"\"setSize(getPreferredSize());\" 'n>" "\"Canvas.this.setBackground(Color.white);\" 
'n>" "\"}\" 'n> 'n>" "\"public Dimension getPreferredSize() \"" "\" {\"  'n>" "" 
"\"return new Dimension(600, 600);\" 'n>" "\"}\" 'n> 'n>" "\"public void 
paintComponent(Graphics g) \"" "\" {\"  'n>" "" "\"super.paintComponent(g);\" 'n>" 
"\"Graphics2D g2d = (Graphics2D) g;\" 'n>" "\"Ellipse2D circle = new 
Ellipse2D.Double(0d, 0d, 100d, 100d);\" 'n>" "\"g2d.setColor(Color.red);\" 'n>" 
"\"g2d.translate(10, 10);\" 'n>" "\"g2d.draw(circle);\" 'n>" "\"g2d.fill(circle);\" 
'n>" "\"}\" 'n> 'n>" "\"}\" 'n> 'n>" "\"public \"" "(file-name-sans-extension 
(file-name-nondirectory buffer-file-name))" "\"()\"" "\" {\"  'n>" "" "\"super(\\\"\" 
(P \"Enter app title: \") \"\\\");\" 'n>" "\"setSize(300, 300);\" 'n>" 
"\"addWindowListener(new WindowAdapter() \"" "\" {\"  'n>" "" "\"public void 
windowClosing(WindowEvent e) {System.exit(0);}\" 'n>" "\"public void 
windowOpened(WindowEvent e) {}\" 'n>" "\"});\" 'n>" "\"setJMenuBar(createMenu());\" 
'n>" "\"getContentPane().add(new JScrollPane(new Canvas()));\" 'n>" "\"}\" 'n>" "'n>" 
"\"public static void main(String[] args) \"" "\" {\"  'n>" "" "'n>" 
"(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" f = new \"" 
"(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\"();\" 'n>" 
"\"f.show();\" 'n>" "'p 'n>" "\"}\" 'n> 'n>" "\"protected JMenuBar createMenu() \"" 
"\" {\"  'n>" "" "\"JMenuBar mb = new JMenuBar();\" 'n>" "\"JMenu menu = new 
JMenu(\\\"File\\\");\" 'n>" "\"menu.add(new AbstractAction(\\\"Exit\\\") \"" "\" {\"  
'n>" "" "\"public void actionPerformed(ActionEvent e) \"" "\" {\"  'n>" "" 
"\"System.exit(0);\" 'n>" "\"}\" 'n>" "\"});\" 'n>" "\"mb.add(menu);\" 'n>" "\"return 
mb;\" 'n>" "\"}\" 'n> 'n>" "\"} // \"" "(file-name-sans-extension 
(file-name-nondirectory buffer-file-name))" "'n>")
 jde-bug-key-bindings '(("[? ? ?]" . jde-bug-step-over)
                        ("[? ? ?]" . jde-bug-step-into) ("[? ? ?]" . 
jde-bug-step-out)
                        ("[? ? ?]" . jde-bug-continue)
                        ("[? ? ?]" . jde-bug-set-breakpoint))
 jde-compile-option-nowarn nil
 jde-run-java-vm-w "javaw"
 jde-compile-option-encoding nil
 jde-run-option-java-profile '(nil . "./java.prof")
 jde-bug-jpda-directory "e:/Jdk/jpda"
 jde-read-compile-args nil
 jde-run-java-vm "java"
 jde-db-option-verbose '(nil nil nil)
 jde-db-read-app-args nil
 jde-run-option-heap-profile '(nil "./java.hprof" 5 20 "Allocation objects")
 jde-gen-println '("'&" "\"System.out.println(\" (P \"Print out: \") \");\" 'n>")
 jde-enable-abbrev-mode nil
 jde-global-classpath nil
 jde-gen-window-listener-template '("'& (P \"Window name: \")"
                                    "\".addWindowListener(new WindowAdapter() {\" 'n>"
                                    "\"public void windowActivated(WindowEvent e) {}\" 
'n>"
                                    "\"public void windowClosed(WindowEvent e) {}\" 
'n>"
                                    "\"public void windowClosing(WindowEvent e) 
{System.exit(0);}\" 'n>" "\"public void windowDeactivated(WindowEvent e) {}\" 'n>" 
"\"public void windowDeiconified(WindowEvent e) {}\" 'n>" "\"public void 
windowIconified(WindowEvent e) {}\" 'n>" "\"public void windowOpened(WindowEvent e) 
{}});\" 'n>")
 jde-run-working-directory ""
 jde-gen-property-change-support '("'&"
                                   "\"protected PropertyChangeSupport pcs =  new 
PropertyChangeSupport(this);\" 'n>" "\"/**\" 'n>\"* Adds a PropertyChangeListener to 
the listener list.\" 'n>" "\"* The listener is registered for all properties.\" 'n>" 
"\"*\" 'n> \"* @param listener The PropertyChangeListener to be added\" 'n> \"*/\" 
'n>" "\"public void addPropertyChangeListener(PropertyChangeListener listener) {\" 
'n>" "\"pcs.addPropertyChangeListener(listener);\" 'n> \"}\" 'n> 'n>" "\"/**\" 'n>\"* 
Removes a PropertyChangeListener from the listener list.\" 'n>" "\"* This removes a 
PropertyChangeListener that was registered for all properties.\" 'n>" "\"*\" 'n> \"* 
@param listener The PropertyChangeListener to be removed\" 'n> \"*/\" 'n>" "\"public 
void removePropertyChangeListener(PropertyChangeListener listener) {\" 'n>" 
"\"pcs.removePropertyChangeListener(listener);\" 'n> \"}\" 'n> 'n>" "\"/**\" 'n>\"* 
Adds a PropertyChangeListener for a specific property.\" 'n>" "\"* The listener will 
be invoked only when a call on firePropertyChange\" 'n>" "\"* names that specific 
property.\" 'n>" "\"*\" 'n> \"* @param propertyName The name of the property to listen 
on\" 'n>" "\"* @param listener The PropertyChangeListener to be added\" 'n> \"*/\" 
'n>" "\"public void addPropertyChangeListener(String propertyName,\" 'n>" 
"\"PropertyChangeListener listener) {\" 'n>" 
"\"pcs.addPropertyChangeListener(propertyName, listener);\" 'n> \"}\" 'n> 'n>" 
"\"/**\" 'n>\"* Removes a PropertyChangeListener for a specific property.\" 'n>" 
"\"*\" 'n> \"* @param propertyName The name of the property that was listened on\" 
'n>" "\"* @param listener The PropertyChangeListener to be removed\" 'n> \"*/\" 'n>" 
"\"public void removePropertyChangeListener(String propertyName,\" 'n>" 
"\"PropertyChangeListener listener) {\"  'n>" 
"\"pcs.removePropertyChangeListener(propertyName, listener);\" 'n> \"}\" 'n> 'n>" 
"\"/**\" 'n>\"* Reports a bound property update to any registered listeners. \" 'n>" 
"\"* No event is fired if old and new are equal and non-null.\" 'n>" "\"*\" 'n> \"* 
@param propertyName The programmatic name of the property that was changed\" 'n>" "\"* 
@param oldValue The old value of the property\" 'n>" "\"* @param newValue The new 
value of the property.\" 'n> \"*/\" 'n>" "\"public void firePropertyChange(String 
propertyName, Object oldValue, Object newValue) {\" 'n>" 
"\"pcs.firePropertyChange(propertyName, oldValue, newValue);\" 'n> \"}\" 'n> 'n>" 
"\"/**\" 'n>\"* Reports a bound property update to any registered listeners. \" 'n>" 
"\"* No event is fired if old and new are equal and non-null.\" 'n>" "\"* This is 
merely a convenience wrapper around the more general\" 'n>" "\"* firePropertyChange 
method that takes Object values.\" 'n>" "\"* No event is fired if old and new are 
equal and non-null.\" 'n>" "\"*\" 'n> \"* @param propertyName The programmatic name of 
the property that was changed\" 'n>" "\"* @param oldValue The old value of the 
property\" 'n>" "\"* @param newValue The new value of the property.\" 'n> \"*/\" 'n>" 
"\"public void firePropertyChange(String propertyName, int oldValue, int newValue) {\" 
'n>" "\"pcs.firePropertyChange(propertyName, oldValue, newValue);\" 'n> \"}\" 'n> 'n>" 
"\"/**\" 'n>\"* Reports a bound property update to any registered listeners. \" 'n>" 
"\"* No event is fired if old and new are equal and non-null.\" 'n>" "\"* This is 
merely a convenience wrapper around the more general\" 'n>" "\"* firePropertyChange 
method that takes Object values.\" 'n>" "\"* No event is fired if old and new are 
equal and non-null.\" 'n>" "\"*\" 'n> \"* @param propertyName The programmatic name of 
the property that was changed\" 'n>" "\"* @param oldValue The old value of the 
property\" 'n>" "\"* @param newValue The new value of the property.\" 'n> \"*/\" 'n>" 
"\"public void firePropertyChange(String propertyName, boolean oldValue, boolean 
newValue) {\" 'n>" "\"pcs.firePropertyChange(propertyName, oldValue, newValue);\" 'n> 
\"}\" 'n> 'n>" "\"/**\" 'n>\"* Fires an existing PropertyChangeEvent to any registered 
listeners.\" 'n>" "\"* No event is fired if the given event's old and new values are 
equal and non-null. \" 'n>" "\"*\" 'n> \"* @param evt The PropertyChangeEvent 
object.\" 'n>\"*/\" 'n>" "\"public void firePropertyChange(PropertyChangeEvent evt) 
{\" 'n>" "\"pcs.firePropertyChange(evt);\" 'n> \"}\" 'n> 'n>" "\"/**\" 'n>\"* Checks 
if there are any listeners for a specific property.\" 'n>" "\"*\" 'n> \"* @param evt 
The PropertyChangeEvent object.\" 'n>" "\"* @return <code>true</code>if there are one 
or more listeners for the given property\" 'n>" "\"*/\" 'n>" "\"public boolean 
hasListeners(String propertyName) {\" 'n>" "\"return pcs.hasListeners(propertyName);\" 
'n> \"}\" 'n> 'n>")
 jde-db-marker-regexp "^Breakpoint hit: .*(\\([^$]*\\).*:\\([0-9]*\\))"
 jde-gen-mouse-motion-listener-template '("'& (P \"Component name: \")"
                                          "\".addMouseMotionListener(new 
MouseMotionAdapter() {\" 'n>" "\"public void mouseDragged(MouseEvent e) {}\" 'n>" 
"\"public void mouseMoved(MouseEvent e) {}});\" 'n>")
 jde-key-bindings '(("" . jde-compile) ("" . jde-run) ("" . jde-db)
                    ("" . jde-build) ("" . jde-run-menu-run-applet)
                    ("" . jde-db-menu-debug-applet) ("" . jde-browse-jdk-doc)
                    ("" . jde-save-project) ("\f" . jde-gen-println)
                    ("" . speedbar-frame-mode))
 jde-imenu-recognize-tag-comments-p nil
 jde-run-option-classpath nil
 jde-compile-option-verbose-path nil
 jde-db-debugger '("JDEbug" "jdb" . "Executable")
 jde-jdk-doc-url "e:\\Jdk/docs/index.html"
 jde-compiler "javac"
 jde-gen-class-buffer-template '("(funcall jde-gen-boilerplate-function) 'n" "\"/**\" 
'n>"
                                 "\"  SummaryDescription.\" 'n 'n" "\"  \""
                                 "(concat (file-name-directory buffer-file-name) 
(file-name-nondirectory buffer-file-name)) 'n" "\" \" 'n" "\"  Created: \" 
(current-time-string) 'n" "\" \" 'n" "\"  @author \" (unb-java-user-full-name) 'n" 
"(get-revision-info \"  @version  \") 'n" "\" */\" 'n>" "'n>" "\"public class \"" 
"(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" \" 
(jde-gen-get-super-class) \" {\" 'n> 'n>" "\"public \"" "(file-name-sans-extension 
(file-name-nondirectory buffer-file-name))" "\"() {\" 'n>" "'p 'n>" "\"}\" 'n>" "'n>" 
"\"} // \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" 
"'n>")
 jde-appletviewer-option-vm-args nil
 jde-run-executable-args nil
 jde-db-option-garbage-collection '(t t)
 jde-use-font-lock t
 jde-compile-option-bootclasspath nil
 jde-make-program "make"
 jde-run-option-vm-args '("-Djava.compiler=NONE")
 jde-compile-option-directory ""
 jde-wiz-insert-excluded-packages-regexp "bsh.*"
 jde-gen-console-buffer-template '("(funcall jde-gen-boilerplate-function) 'n" 
"\"/**\" 'n"
                                   "\"  SummaryDescription.\" 'n 'n" "\"  \""
                                   "(concat (file-name-directory buffer-file-name) 
(file-name-nondirectory buffer-file-name)) 'n" "\" \" 'n" "\"  Created: \" 
(current-time-string) 'n" "\" \" 'n" "\"  @author \" (unb-java-user-full-name) 'n" 
"(get-revision-info \"  @version  \") 'n" "\" */\" 'n>" "'n>" "\"public class \"" 
"(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" {\" 'n> 
'n>" "\"public static void main(String[] args) {\" 'n>" "'p 'n>" "\"}\" 'n> 'n>" "\"} 
// \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "'n>")
 jde-read-make-args nil
 jde-gen-mouse-listener-template '("'& (P \"Component name: \")"
                                   "\".addMouseListener(new MouseAdapter() {\" 'n>"
                                   "\"public void mouseClicked(MouseEvent e) {}\" 'n>"
                                   "\"public void mouseEntered(MouseEvent e) {}\" 'n>"
                                   "\"public void mouseExited(MouseEvent e) {}\" 'n>"
                                   "\"public void mousePressed(MouseEvent e) {}\" 'n>"
                                   "\"public void mouseReleased(MouseEvent e) {}});\" 
'n>")
 jde-run-option-application-args nil
 jde-bug-vm-executable '("javaw")
 jde-db-set-initial-breakpoint t
 jde-bug-debugger-command-timeout 20
 jde-db-option-stack-size '((128 . "kilobytes") (400 . "kilobytes"))
 jde-db-option-properties nil
 jde-db-source-directories '("./" "e:\\Jdk/src/")
 jde-run-read-app-args nil
 jde-gen-to-string-method-template '("'&" "\"public String toString() {\" 'n>"
                                     "\"return super.toString();\" 'n>" "\"}\" 'n>")
 jde-quote-classpath t
 jde-bug-window-message nil
 jde-build-use-make nil
 jde-compile-option-classpath nil
 jde-bug-jdk-directory "e:/jdk/"
 jde-gen-boilerplate-function 'jde-gen-create-buffer-boilerplate
 jde-gen-entity-bean-template '("(jde-wiz-insert-imports-into-buffer (list 
\"javax.ejb.*\"\n\"java.rmi.RemoteException\"))" "(jde-wiz-update-implements-clause 
\"EntityBean\")" "'> \"public void ejbActivate() throws RemoteException {\"'n> 
\"}\"'n\n'n" "'> \"public void ejbPassivate() throws RemoteException {\"'n> 
\"}\"'n\n'n" "'> \"public void ejbLoad() throws RemoteException {\"'n>\"}\"'n 'n" "'> 
\"public void ejbStore() throws RemoteException {\"'n>\"}\"'n 'n" "'> \"public void 
ejbRemove() throws RemoteException {\"'n>\"}\"'n 'n" "'> \"public void 
setEntityContext(EntityContext ctx) throws\nRemoteException {\"" "'n>\"}\"'n 'n" "'> 
\"public void unsetEntityContext() throws RemoteException {\"'n>\n\"}\"'n> 'n")
 jde-bug-server-shmem-name '(t . "JDEbug")
 jde-db-startup-commands nil
 jde-compile-option-deprecation nil
 jde-gen-k&r t
 jde-db-option-classpath nil
 jde-run-mode-hook nil
 jde-db-option-verify '(nil t)
 jde-compile-option-extdirs nil
 jde-gen-get-set-var-template '("'n>" "\"private \" (P \"Variable type: \" type) \" \""
                                "(P \"Variable name: \" name) \";\" 'n> 'n>" "\"/**\" 
'n>"
                                "\"Get the value of \" (s name) \".\" 'n>"
                                "\"@return \" (s type) 'n>" "\"*/\" 'n> 'n>"
                                "\"public \" (s type) \" \" (make-accessor-mutator 
\"get\" (jde-gen-lookup-named 'name))" "\"() {\" 'n>" "\"return \" (s name) \";\" 'n>" 
"\"}\" 'n> 'n>" "\"/**\" 'n>" "\"Set the value of \" (s name) \".\" 'n>" "\"@param \" 
(P \"set argument: \" argv) \" - \" (s type) 'n>" "\"*/\" 'n> 'n>" "\"public void \" 
(make-accessor-mutator \"set\" (jde-gen-lookup-named 'name))" "\"(\" (s type) \" \" (s 
argv) \") {\" 'n>" " (s name) \" = \" (s argv) \";\" 'n>" "\"}\" 'n>")
 jde-bug-saved-breakpoints nil
 jde-compile-option-sourcepath nil
 jde-db-option-java-profile '(nil . "./java.prof")
 jde-compile-option-depend-switch '("-Xdepend")
 jde-run-applet-doc "index.html"
 jde-compile-option-vm-args nil
 jde-run-option-garbage-collection '(t t)
 jde-db-mode-hook nil
 jde-db-option-heap-profile '(nil "./java.hprof" 5 20 "Allocation objects")
 jde-db-read-vm-args nil
 jde-bug-debug nil
 jde-bug-server-socket '(t . "2112")
 jde-appletviewer-option-encoding ""
 jde-bug-breakpoint-cursor-colors '("cyan" . "brown")
 jde-compile-option-target '("1.1")
 jde-run-executable ""
 jde-run-option-heap-size '((1 . "megabytes") (16 . "megabytes"))
 jde-db-option-vm-args nil
 jde-run-application-class ""
 jde-run-option-verbose '(nil nil nil)
 jde-project-file-name "prj.el"
 jde-compile-option-debug '("selected" (t nil nil))
 jde-bug-jre-home ""
 jde-run-applet-viewer "appletviewer"
 jde-entering-java-buffer-hooks '(jde-reload-project-file)
 jde-run-read-vm-args nil
 jde-help-docsets nil
 jde-gen-inner-class-template '("'& \"class \" (P \"Class name: \" class)"
                                "(P \"Superclass: \" super t)"
                                "(let ((parent (jde-gen-lookup-named 'super)))"
                                "(if (not (string= parent \"\"))"
                                "(concat \" extends \" parent))) \" {\" 'n>"
                                "\"public \" (s class) \"() {\" 'n> \"}\" 'n> \"}\" 
'n>")
 jde-run-option-verify '(nil t)
 jde-compile-option-optimize nil
 jde-compile-option-depend nil
 jde-gen-action-listener-template '("'& (P \"Component name: \")"
                                    "\".addActionListener(new ActionListener() {\" 'n>"
                                    "\"public void actionPerformed(ActionEvent e) {\" 
'n>"
                                    "\"}});\" 'n>")
 jde-compile-option-command-line-args "-g"
 jde-gen-buffer-templates '(("Class" . jde-gen-class) ("Console" . jde-gen-console)
                            ("Swing App" . jde-gen-jfc-app))
 jde-project-context-switching-enabled-p t
 jde-run-option-stack-size '((128 . "kilobytes") (400 . "kilobytes"))
 jde-run-option-properties nil
 )



The contents of the *JDEBug* buffer were

cd d:/Junk/
javaw -classpath 
e:/GNU/EMACS/site-lisp/jde-2.1.6beta23/java/src;e:/GNU/EMACS/site-lisp/jde-2.1.6beta23/java/lib/jde.jar;e:/Jdk/jpda/lib/jpda.jar
 jde.debugger.Main


(jde-dbo-init-debug-session)

JDE> -1 1 launch 1 -vmexec javaw   Junk  


(jde-dbo-message
1 "Launched VM Java Debug Interface (Reference Implementation) version 1.0 
Java Debug Wire Protocol (Reference Implementation) version 1.0
JVM Debug Interface version 1.0
JVM version 1.2.2 (Classic VM, build JDK-1.2.2-W, native threads, nojit)")


(jde-dbo-message
1 "Debugger created socket for app I/O on local host at port 1150.")


(jde-dbo-command-result 1 1150)


(jde-dbo-message
1 "Debugger waiting for Emacs to connect to app SIO port 1150.")


(jde-dbo-event-set
1 "all"
(list "Thread" 1 "main" "waiting" "suspended by debugger"
(list)
(list)
nil)
(list 'jde-dbo-vm-start-event))

JDE> 1 2 break absolute Junk.java 38


(jde-dbo-command-result 2 0)

JDE> 1 3 break absolute Junk.java 16


(jde-dbo-command-result 3 1)

JDE> 1 4 run


(jde-dbo-command-result 4)


(jde-dbo-spec-resolved 1 1)


(jde-dbo-event-set
1 "all"
(list "Thread" 1 "main" "runnable" "suspended at breakpoint"
(list
(list 0 "Junk" "Junk.java" 16 "main"))
(list)
nil)
(list 'jde-dbo-breakpoint-hit-event 1
(list "Junk" "Junk.java" 16) nil nil))

JDE> 1 5 get_locals 1 0


(jde-dbo-command-result
5 (list 
(cons (list "args" "java.lang.String[]") (list "java.lang.String[]" 183 nil))))

JDE> 1 6 get_this 1 0


(jde-dbo-command-result 6 (list "null"))

JDE> 1 7 get_thread 1


(jde-dbo-command-result
7 (list "Thread" 1 "main" "runnable" "suspended at breakpoint"
(list
(list 0 "Junk" "Junk.java" 16 "main"))
(list)
nil))

JDE> 1 8 run


(jde-dbo-command-result 8)


(jde-dbo-spec-resolved 1 0)


(jde-dbo-event-set
1 "all"
(list "Thread" 1 "main" "runnable" "suspended at breakpoint"
(list
(list 0 "Foo" "Junk.java" 38 "<init>")
(list 1 "Junk" "Junk.java" 17 "main"))
(list)
nil)
(list 'jde-dbo-breakpoint-hit-event 0
(list "Foo" "Junk.java" 38) nil nil))

JDE> 1 9 get_locals 1 0


(jde-dbo-command-result
9 (list 
(cons (list "b" "Foo") (list "null"))
(cons (list "a" "int") (list "int" "10"))))

JDE> 1 10 get_this 1 0


(jde-dbo-command-result
10 (list "Foo" 186 nil
(list 
(cons (list "vv" "int[]") (list "null"))
(cons (list "mElement" "int") (list "int" "0"))
(cons (list "mBar" "Foo") (list "null")))))

JDE> 1 11 get_thread 1


(jde-dbo-command-result
11 (list "Thread" 1 "main" "runnable" "suspended at breakpoint"
(list
(list 0 "Foo" "Junk.java" 38 "<init>")
(list 1 "Junk" "Junk.java" 17 "main"))
(list)
nil))

JDE> 1 12 run


(jde-dbo-command-result 12)


(jde-dbo-event-set
1 "all"
(list "Thread" 1 "main" "runnable" "suspended at breakpoint"
(list
(list 0 "Foo" "Junk.java" 38 "<init>")
(list 1 "Junk" "Junk.java" 18 "main"))
(list)
nil)
(list 'jde-dbo-breakpoint-hit-event 0
(list "Foo" "Junk.java" 38) nil nil))

JDE> 1 13 get_locals 1 0


(jde-dbo-command-result
13 (list 
(cons (list "b" "Foo") (list "Foo" 186 nil))
(cons (list "a" "int") (list "int" "20"))))

JDE> 1 14 get_this 1 0


(jde-dbo-command-result
14 (list "Foo" 187 nil
(list 
(cons (list "vv" "int[]") (list "null"))
(cons (list "mElement" "int") (list "int" "0"))
(cons (list "mBar" "Foo") (list "null")))))

JDE> 1 15 get_thread 1


(jde-dbo-command-result
15 (list "Thread" 1 "main" "runnable" "suspended at breakpoint"
(list
(list 0 "Foo" "Junk.java" 38 "<init>")
(list 1 "Junk" "Junk.java" 18 "main"))
(list)
nil))

JDE> 1 16 run


(jde-dbo-command-result 16)


(jde-dbo-event-set
1 "all"
(list "Thread" 1 "main" "runnable" "suspended at breakpoint"
(list
(list 0 "Foo" "Junk.java" 38 "<init>")
(list 1 "Junk" "Junk.java" 19 "main"))
(list)
nil)
(list 'jde-dbo-breakpoint-hit-event 0
(list "Foo" "Junk.java" 38) nil nil))

JDE> 1 17 get_locals 1 0


(jde-dbo-command-result
17 (list 
(cons (list "b" "Foo") (list "Foo" 187 nil))
(cons (list "a" "int") (list "int" "30"))))

JDE> 1 18 get_this 1 0


(jde-dbo-command-result
18 (list "Foo" 188 nil
(list 
(cons (list "vv" "int[]") (list "null"))
(cons (list "mElement" "int") (list "int" "0"))
(cons (list "mBar" "Foo") (list "null")))))

JDE> 1 19 get_thread 1


(jde-dbo-command-result
19 (list "Thread" 1 "main" "runnable" "suspended at breakpoint"
(list
(list 0 "Foo" "Junk.java" 38 "<init>")
(list 1 "Junk" "Junk.java" 19 "main"))
(list)
nil))

JDE> 1 20 run


(jde-dbo-command-result 20)


(jde-dbo-event-set 1 "none" nil
(list 'jde-dbo-vm-death-event))


(jde-dbo-message 1 "Application I/O closed")


(jde-dbo-message 1 "Application I/O closed")


(jde-dbo-error 1 "Input error; application I/O closed")


(jde-dbo-event-set 1 "none" nil
(list 'jde-dbo-vm-disconnected-event))

JDE> -1 21 launch 2 -vmexec javaw   Junk  


(jde-dbo-message
2 "Launched VM Java Debug Interface (Reference Implementation) version 1.0 
Java Debug Wire Protocol (Reference Implementation) version 1.0
JVM Debug Interface version 1.0
JVM version 1.2.2 (Classic VM, build JDK-1.2.2-W, native threads, nojit)")


(jde-dbo-message
2 "Debugger created socket for app I/O on local host at port 1155.")


(jde-dbo-command-result 21 1155)


(jde-dbo-message
2 "Debugger waiting for Emacs to connect to app SIO port 1155.")


(jde-dbo-event-set
2 "all"
(list "Thread" 1 "main" "waiting" "suspended by debugger"
(list)
(list)
nil)
(list 'jde-dbo-vm-start-event))

JDE> 2 22 break absolute Junk.java 38


(jde-dbo-command-result 22 0)

JDE> 2 23 break absolute Junk.java 16


(jde-dbo-command-result 23 1)

JDE> 2 24 run


(jde-dbo-command-result 24)


(jde-dbo-spec-resolved 2 1)


(jde-dbo-event-set
2 "all"
(list "Thread" 1 "main" "runnable" "suspended at breakpoint"
(list
(list 0 "Junk" "Junk.java" 16 "main"))
(list)
nil)
(list 'jde-dbo-breakpoint-hit-event 1
(list "Junk" "Junk.java" 16) nil nil))

JDE> 2 25 get_locals 1 0


(jde-dbo-command-result
25 (list 
(cons (list "args" "java.lang.String[]") (list "java.lang.String[]" 183 nil))))

JDE> 2 26 get_this 1 0


(jde-dbo-command-result 26 (list "null"))

JDE> 2 27 get_thread 1


(jde-dbo-command-result
27 (list "Thread" 1 "main" "runnable" "suspended at breakpoint"
(list
(list 0 "Junk" "Junk.java" 16 "main"))
(list)
nil))

JDE> 2 28 run


(jde-dbo-command-result 28)


(jde-dbo-spec-resolved 2 0)


(jde-dbo-event-set
2 "all"
(list "Thread" 1 "main" "runnable" "suspended at breakpoint"
(list
(list 0 "Foo" "Junk.java" 38 "<init>")
(list 1 "Junk" "Junk.java" 17 "main"))
(list)
nil)
(list 'jde-dbo-breakpoint-hit-event 0
(list "Foo" "Junk.java" 38) nil nil))

JDE> 2 29 get_locals 1 0


(jde-dbo-command-result
29 (list 
(cons (list "b" "Foo") (list "null"))
(cons (list "a" "int") (list "int" "10"))))

JDE> 2 30 get_this 1 0


(jde-dbo-command-result
30 (list "Foo" 186 nil
(list 
(cons (list "vv" "int[]") (list "null"))
(cons (list "mElement" "int") (list "int" "0"))
(cons (list "mBar" "Foo") (list "null")))))

JDE> 2 31 get_thread 1


(jde-dbo-command-result
31 (list "Thread" 1 "main" "runnable" "suspended at breakpoint"
(list
(list 0 "Foo" "Junk.java" 38 "<init>")
(list 1 "Junk" "Junk.java" 17 "main"))
(list)
nil))

JDE> 2 32 finish


(jde-dbo-command-result 32)




End Insert *JDEbug* buffer


There was no *Backtrace* buffer


The contents of the *Messages* buffer were

Loading cl-extra...done
Loading timer...
Loading timer...done
Loading time...
Loading time...done
Loading edmacro...
Loading edmacro...done
Loading calendar...
Loading calendar...done
Loading mule-util...
Loading mule-util...done
Loading cal-move...
Loading cal-move...done
Loading diary-lib...
Loading diary-lib...done
Preparing diary...
Loading cl-seq...
Loading cl-seq...done
Loading solar...
Loading solar...done
Loading cal-hebrew...
Loading cal-hebrew...done
Loading lunar...
Loading lunar...done
Loading holidays...
Loading holidays...done
Loading cal-islam...
Loading cal-islam...done
Loading cal-china...
Loading cal-china...done
Preparing diary...done
Loading appt...
Loading appt...done
For information about the GNU Project and its goals, type C-h C-p.
Reading directory d:/Junk/...
Reading directory d:/Junk/...done
Fontifying Junk...
Fontifying Junk... (regexps.......)
Reading directory d:/Junk/...done
Setting JDE variables to startup values...
Fontifying Junk.java...
Fontifying Junk.java... (regexps.............)
Setting JDE variables to startup values...
Preparing diary...
Preparing problem report...
Loading sendmail...
Loading sendmail...done
Formatting bug report buffer...
Formatting bug report buffer.....................................
Mark set [2 times]



End Insert *Messages* buffer


Process environment: 

TMPDIR=c:\windows\temp
emacs_dir=E:/GNU/EMACS
CMDLINE=e:\Gnu\Emacs\bin\runemacs.exe
ISPELL_DICTDIR=e:\Gnu\Emacs\site-lisp
TERM=cmd
EMACSDOC=e:\Gnu\Emacs\etc
INFOPATH=e:\Gnu\Emacs\info
EMACSLOCKDIR=e:\Gnu\Emacs\lock
EMACSPATH=e:\Gnu\Emacs\bin
EMACSDATA=e:\Gnu\Emacs\etc
EMACSLOADPATH=e:\Gnu\Emacs\site-lisp;e:\Gnu\Emacs\lisp
SHELL=e:\Gnu\Emacs\bin\cmdproxy.exe
HOME=e:\Gnu\Emacs
RCSINIT=-x,v/
TZ=AST4ADT
LOGNAME=srauch
TEXINPUTS=e:\LocalTeXmf/texinput/
TMP=c:\windows\temp
TEMP=c:\windows\temp
CLASSPATH=.;e:\Java\lib
DJGPP=e:\Gnu\gcc\djgpp.env
PATH=D:\BAT;D:\BIN;F:\TOOLS\RCS57\BIN;F:\TOOLS\UNIX;F:\TOOLS\CYGNUS\CYGWIN~1\H-I586~1\BIN;E:\JDK\JPDA\BIN;E:\JDK\BIN;E:\GNU\GCC\BIN;E:\TEXMF\MIKTEX\BIN;E:\GNU\GSTOOLS\GSVIEW;F:\TOOLS\ISPELL\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND
WINDOWS_DIR=c:\windows
TEXINPUT_LOC=e:\LocalTeXmf
MIKTEX_DIR=e:\TeXmf\miktex\bin
CYGNUS_DIR=f:\Tools\Cygnus\cygwin-b20\H-i586-cygwin32\bin
RCS_DIR=f:\Tools\Rcs57\bin
ISPELL_DIR=f:\Tools\Ispell\bin
TOOLS_DIR=f:\Tools
JPDA_DIR=e:\Jdk\jpda
JAVA_LIB=e:\Java
JDK_DOC_LOC=e:\Jdk
JDK_LOC=e:\Jdk
GNU_DIR=e:\Gnu
PROMPT=$p$q$g
BLASTER=A220 I5 D1 H5 P330 T6
windir=C:\WINDOWS
NWLANGUAGE=ENGLISH
COMSPEC=C:\WINDOWS\COMMAND.COM
winbootdir=C:\WINDOWS


The contents of the .emacs file was


;; A .emacs file that loads Paul Kinnucan's JDE

;; Author: Steven Rauch
;; $Id: .emacs,v 1.10 2000/04/15 21:03:39 srauch Exp srauch $

;; Set the frame's height, width, and offset from top left corner

(set-frame-height (selected-frame) 30)
(set-frame-width (selected-frame) 85)
(set-frame-position (selected-frame) 50 40)

;; Set up the load path and load Paul Kinnucan's jde

(setq load-path (append (list 
;;                         (getenv "emacs_dir")
;;                         (concat (getenv "emacs_dir")
;;                                 "/site-lisp")
                         (concat (getenv "emacs_dir")
                                 "/site-lisp/auctex")
                         (concat (getenv "emacs_dir")
                                 "/site-lisp/jde-2.1.6beta23/lisp"))
                        load-path))

;; Customize some environment settings provided emacs version 1s 20.3 or better

(defvar emacs-upgrade-not-required nil
  "determines if user should upgrade emacs version")

(setq emacs-upgrade-not-required (or (equal window-system 'x)
                                     (and (>= emacs-major-version 20)
                                          (>= emacs-minor-version 3))
                                     (> emacs-major-version 20)))

(cond (emacs-upgrade-not-required

       ;; Paul Kinnucan's JDE environment

       (require 'jde)

       (custom-set-variables
        '(query-replace-highlight t)
        '(show-paren-mode t nil (paren))
        '(font-lock-maximum-decoration t)
        '(inhibit-startup-message t)
        '(transient-mark-mode t)
        '(search-highlight t)
        '(column-number-mode t)
        '(fill-column 65)
        '(max-lisp-eval-depth 6000)
        '(max-specpdl-size 6000)
        '(global-font-lock-mode t nil (font-lock))
        )

       (cond ((eq window-system 'w32)
              (custom-set-variables
               '(w32-use-w32-font-dialog nil t)
               '(printer-name "lpt1:" t)
               )

              ;; ; no c-M's in DOS shell window
              (add-hook 'comint-output-filter-functions 'shell-strip-ctrl-m nil t)))
       ))

;; Display the time on the status bar

(display-time)

;; Load UNB CS' JDE environment but first set the following:
;; Author name and email id

(defun unb-java-user-full-name () " Steve Rauch")
(defun unb-java-user-email-address () "[EMAIL PROTECTED]")

;; Toggle the activation of RCS in UNB java projects.

(defvar use-java-project-revision-control nil
  "Toggle using revision control in java projects")

;; LOCATION and COURSE are environment variables that may be set in csjava.bat,
;; csjavah.bat or a UNIX script

;; Switch the defvar below to specify where you want your projects. For example

;; (defvar default-project-path "C:/MyFiles/") ;; for Win32 at home
;; (defvar default-project-path "~/MyFiles/")  ;; for Unix and Linux

;; otherwise your projects are placed at the root ~/ in Unix,
;; your install directory (for example, C:/MyFiles)  on windows at home,
;; and a:/ in the CSD labs.

(defvar default-project-path
  (cond ((equal window-system 'x)  "~/")
        ((and (not (null (getenv "location")))
              (equal (upcase (getenv "location")) "NOVELL"))
         "a:/")
        (t (concat (getenv "install_dir") "/")))
  "Specify the default path where projects are created.  If the COURSE environment 
variable is set, its value is appended to the end of this project path.  Make sure 
that you use forward slashes / and that the string ends with a slash. NOTE: It is 
recommended that projects using NOVELL are not put on the F:/ drive.")

;; UNB customizations

;; fix behavior of [delete] on Linux

(if (equal window-system 'x)
    (global-set-key [delete] 'delete-char))

(require 'unb-jde-java)

(require 'sgml-mode)
(require 'tex-mode)
(require 'dired)
(require 'dired-aux)
(require 'dired-x)
(require 'latex)
(require 'texinfo)
(require 'tex-buf)
(require 'tex-site)

(require 'emacs-ini)

;; Customize coloring and additional features

(defvar color-scheme 1 "Choose a color scheme")

;; Change the color of the prompt in the shell to a more pleasing one

(setcar (cdddr (car shell-font-lock-keywords)) 'font-lock-type-face)

;; Enable upcase and downcase region with C-x C-u, C-x C-l

(put 'downcase-region 'disabled nil)
(put 'upcase-region 'disabled nil)

(cond (emacs-upgrade-not-required
       (custom-set-variables
        '(fill-column 85)
        '(tar-mode-show-date t)
        '(calendar-latitude 45.6 t)
        '(calendar-longitude -66.7 t)
        '(calendar-location-name "Fredericton, NB" t)
        '(calendar-time-zone -240)
        '(calendar-standard-time-zone-name "AST")
        '(calendar-daylight-time-zone-name "ADT")
        '(view-diary-entries-initially nil)
        '(appt-display-interval 5)
        '(appt-message-warning-time 10)
        '(appt-display-duration 3)
        '(ispell-personal-dictionary (concat (getenv "emacs_dir") "/site-lisp/words") 
t)
        '(ispell-highlight-spelling-error t t)
        '(speedbar-tag-split-minimum-length 100)
        '(use-java-project-revision-control t t)
        '(default-project-path "./" t)
        '(ediff-version-control-package (quote rcs))
        '(enable-recursive-minibuffers t t)
        '(dired-clean-up-buffers-too nil)

        ;; Set mode for editing Matlab M-files

        '(auto-mode-alist (cons (cons "\\.m\\'" (quote text-mode))
                                auto-mode-alist) t)
        '(TeX-lisp-directory  (concat (getenv "emacs_dir") "/site-lisp/auctex") t)
        '(TeX-macro-global (list "e:/LocalTeXmf/texinput/") t)
        '(TeX-command-Show "Dvips" t)
        '(TeX-command-list
          (list (list "LaTeX" "latex \\nonstopmode\\input %t" 'TeX-run-TeX nil t)
                (list "Dvips" "dvips %d -o %f " 'TeX-run-command nil t)
                (list "View" "gsview32 %f" 'TeX-run-command nil t)
                (list "TeX" "tex \\nonstopmode\\input %t" 'TeX-run-TeX nil t)
                (list "BibTeX" "bibtex %s" 'TeX-run-BibTeX nil nil)
                (list "Spell" "<ignored>" 'TeX-run-ispell-on-document nil nil)
                (list "Index" "makeindex %s" 'TeX-run-command nil t)))
        )))

(require 'color-scheme)
(require 'local-ini)
(choose-color-scheme)

;; Set up ediff to use rcs rather than vc, use our own key bindings

(setq rcs-bind-keys nil)
(require 'rcs)

;; Diary and calendar stuff

(add-hook 'diary-display-hook 'fancy-diary-display)
(add-hook 'diary-hook 'appt-make-list)
(calendar)
(diary)



=====end inserted .emacs file

Reply via email to