At 09:06 AM 6/22/00 -0700, you wrote:
>Paul Kinnucan wrote:
>
>>
>> There is something wrong with your compiled Lisp files. Try deleting all
>> the compiled JDE files from your site-lisp directory and running the Lisp
>> source. It will make no difference in performance.
>>
>> - Paul
>
>Paul -
>
>Thanks for the reply. You were right about the compiled files being
corrupted.
>Now I can start the debugger, but I still have something amiss. I have
set up
>a trivial class to check the debugger operation, but I can't get the behavior
>described in the manual (it's a simple hello-world type class with an int
>variable and a couple of print statements in main). I set the breakpoint and
>launch the process, but get the following in the Process buffer:
>
>*** Debugger Output for Process DebugTest(1) ***
>
>Emacs connected to standard IO port 32865 for process DebugTest.
>VM options: '-classic '
>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, green threads, nojit)
>Debugger created socket for app I/O on local host at port 32865.
>Setting breakpoint at line 13 in DebugTest.java.
>Debugger waiting for Emacs to connect to app SIO port 32865.
>vm started...
>All threads suspended...
>
The doc is poorly worded. If you use the Launch command, JDEbug launches
the debuggee application vm. The debuggee process vm immediately halts
BEFORE entering the main method of the application. At that point, you need
to set an initial breakpoint and issue the Run command to run to the
breakpoint.
>Also, the local variables buffer is empty at this point, where I expected to
>see the local int variable displayed.
You don't see any local variables because the vm has not yet entered the
main method of the application. There are no local variables to see.
>(Actually, since I only have a main
>method, I was expecting the initial main breakpoint described in the docs,
but
>I don't see that either)
You won't see a breakpoint until you issue a Run command to start the
application.
>The step debug operations are disabled on the debug
>menu,
The step commands are enabled only if the process is been started and then
suspended at a breakpoint or by a previous step command.
>and I get an invalid frame error if I try to display a variable value. I
>also tried the Debug App method and get the same result, except that in
>addition to the above, the following also appears in the Process buffer:
>
>Running DebugTest.
>Application I/O closed
>Input error; application I/O closed
>Application I/O closed
>DebugTest process ended.
>vm disconnected...
>
DebugTest ran to completion without ever hitting the breakpoint that you
specified at line 13. I don't know why it failed to hit the breakpoint in
your case. Possible reasons include:
* There is no executable code at line 13 in your app. Try recompiling your
app to make sure that the source and class file are in synch.
* The app was compiled with jikes or some compiler other than javac.
* The class has a static method in it (due to a bug in the JPDA)
* You are running the JDK 1.2.2 vm with green threads. JDEbug works on my
Solaris
with a JDK 1.2.2 vm running with native threads. I've never tried it with
green
threads.
- Paul
>I've seen some similar things in the list archive, but nothing that addresses
>this exact problem, so once again I expect this is a simple configuration
issue
>or some misunderstanding on my part with how the debugger operates (I haven't
>used it successfully yet so I'm not sure exactly what to expect). I've
>included the system information again below. Please let me know if there
is any
>other information that would be helpful.
>
>Thanks for your help!
>Mike
>
>Emacs : GNU Emacs 20.6.1 (sparc-sun-solaris2.7, X toolkit)
> of Mon Jun 19 2000 on akira
>Package: JDE version 2.1.7
>
>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-enable-full-method-signatures-index-menu t
> jde-run-classic-mode-vm t
> 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-gen-cflow-else '("(if (jde-parse-comment-or-quoted-p)" "'(l \"else\")"
>"'(l > \"else \""
> "\"{\" > n> r n" "\"} // end of else\" > n>)" ")")
> 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-debugger-host-address "akira.gar.com"
> jde-bug-breakpoint-marker-colors '("red" . "yellow")
> jde-gen-buffer-boilerplate nil
> jde-bug-raise-frame-p t
> 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 "/space/software/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 t
> jde-gen-cflow-main '("(if (jde-parse-comment-or-quoted-p)" "'(l \"main\")"
> "'(l > \"public static void main (String[] args) \"" "\"{\" > n> r
>n"
> "\"} // end of main ()\" > n>)" ")")
> jde-javadoc-exception-tag-template '("* @exception " type " if an error
>occurs")
> jde-global-classpath '("/home/mwilcox/java/classes")
> 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 "/home/mwilcox/projects/debug_test/source/"
> 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-javadoc-describe-interface-template '("* Describe interface "
>(jde-javadoc-code name) " here.")
> jde-javadoc-see-tag-template '("* @see " ref)
> 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-run-menu-run-applet) ("[? ? ?]" .
>jde-build)
> ("[? ? ?]" . jde-compile) ("[? ? ?]" . jde-debug)
> ("[? ? ?]" . jde-wiz-implement-interface)
> ("[? ? ?j]" . jde-javadoc-generate-javadoc-template) ("[? ?
? ]"
>. bsh)
> ("[? ? ?\f]" . jde-gen-println) ("[? ? ?]" .
jde-browse-jdk-doc)
>
> ("[? ? ?]" . jde-save-project) ("[? ? ?]" .
>jde-wiz-update-class-list)
> ("[? ? ?]" . jde-run) ("[? ? ?]" . speedbar-frame-mode)
> ("[? ? ?]" . jde-db-menu-debug-applet) ("[? ? ?]" .
>jde-help-symbol)
> ("[? ? ?]" . jde-show-class-source) ("[? ? ?]" .
>jde-wiz-find-and-import)
> ("[(control c) (control v) (control ?.)]" .
>jde-complete-at-point-menu)
> ("[(control c) (control v) ?.]" . jde-complete-at-point))
> jde-gen-cflow-for-i '("(if (jde-parse-comment-or-quoted-p)" "'(l \"fori\")"
> "'(l > \"for (int \" (p \"variable: \" var) \" = 0; \"" "(s var)"
> "\" < \"(p \"upper bound: \" ub)\"; \" (s var) \"++) \"" "\"{\" >
>n> r n"
> "\"} // end of for (int \" (s var) \" = 0; \""
> "(s var) \" < \" (s ub) \"; \" (s var) \"++)\" > n>)" ")")
> jde-run-option-classpath nil
> jde-javadoc-param-tag-template '("* @param " name " " (jde-javadoc-a
type) " "
>(jde-javadoc-code type)
> " value")
> jde-compile-option-verbose-path nil
> jde-db-debugger '("JDEbug" "jdb" . "Executable")
> jde-jdk-doc-url "http://www.javasoft.com/products/jdk/1.1/docs/index.html"
> jde-compiler "javac"
> jde-javadoc-describe-method-template '("* Describe " (jde-javadoc-code
name) "
>method here.")
> jde-gen-class-buffer-template '("(funcall jde-gen-boilerplate-function) '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))"
> "\" \" (jde-gen-get-super-class)" "\" {\" '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 nil
> jde-compile-option-directory "/home/mwilcox/projects/debug_test/classes/"
> jde-wiz-insert-excluded-packages-regexp "bsh.*"
> jde-gen-console-buffer-template '("(funcall jde-gen-boilerplate-function)
'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))"
> "\" {\" 'n>" "" "\"public \""
> "(file-name-sans-extension (file-name-nondirectory
>buffer-file-name))"
> "\" ()\"" "\" {\" 'n>" "" "'n>" "\"}\" '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 '("java")
> jde-db-set-initial-breakpoint t
> jde-bug-debugger-command-timeout 10
> jde-db-option-stack-size '((128 . "kilobytes") (400 . "kilobytes"))
> jde-db-option-properties nil
> jde-db-source-directories '("/usr/java/src.jar/"
>"/home/mwilcox/projects/debug_test/source/")
> 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-javadoc-author-tag-template '("* @author \"" user-full-name "\" <"
>user-mail-address ">")
> jde-compile-option-classpath nil
> jde-bug-jdk-directory "/usr/java"
> 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-javadoc-version-tag-template '("* @version 1.0")
> jde-javadoc-describe-constructor-template '("* Creates a new "
>(jde-javadoc-code name) " instance.")
> 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-gen-cflow-for '("(if (jde-parse-comment-or-quoted-p)" "'(l \"for\")"
> "'(l > \"for (\" (p \"for-clause: \" clause) \") \"" "\"{\" > n> r
>n"
> "\"} // end of for (\" (s clause) \")\" > n>)" ")")
> jde-run-mode-hook nil
> jde-db-option-verify '(nil t)
> jde-compile-option-extdirs nil
> jde-gen-get-set-var-template '("'n>" "(P \"Variable type: \" type) \" \""
> "(P \"Variable name: \" name) \";\" 'n> 'n>" "\"/**\" 'n>"
> "\"* Get the value of \" (s name) \".\" 'n>"
> "\"* @return Value of \" (s name) \".\" 'n>" "\"*/\" 'n>"
> "\"public \" (s type) \" get\" (jde-gen-init-cap
>(jde-gen-lookup-named 'name))" "\"() {return \" (s name) \";}\" 'n> 'n>"
>"\"/**\" 'n>" "\"* Set the value of \" (s name) \".\" 'n>" "\"* @param v
Value
>to assign to \" (s name) \".\" 'n>" "\"*/\" 'n>" "\"public void set\"
>(jde-gen-init-cap (jde-gen-lookup-named 'name))" "\"(\" (s type) \" v)
>{this.\" (s name) \" = v;}\" 'n>")
> jde-bug-saved-breakpoints nil
> jde-compile-option-sourcepath '("/home/mwilcox/projects/debug_test/source/")
> jde-gen-cflow-if '("(if (jde-parse-comment-or-quoted-p)" "'(l \"if\")"
> "'(l > \"if (\" (p \"if-clause: \" clause) \") \"" "\"{\" > n> r n"
> "\"} // end of if (\" (s clause) \")\" > n>)" ")")
> jde-db-option-java-profile '(nil . "./java.prof")
> jde-compile-option-depend-switch '("-Xdepend")
> jde-run-applet-doc ""
> 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-gen-cflow-if-else '("(if (jde-parse-comment-or-quoted-p)" "'(l \"ife\")"
> "'(l > \"if (\" (p \"if-clause: \" clause) \") \"" "\"{\" > n> r
>n"
> "\"} // end of if (\" (s clause) \")\" > n>" "> \"else \""
"\"{\"
>> n> r n"
> "\"} // end of if (\" (s clause) \")else\" > n>)" ")")
> jde-gen-cflow-while '("(if (jde-parse-comment-or-quoted-p)" "'(l \"while\")"
> "'(l > \"while (\" (p \"while-clause: \" clause) \") \"" "\"{\" >
>n> r n"
> "\"} // end of while (\" (s clause) \")\" > n>)" ")")
> jde-bug-server-socket '(t . "2112")
> jde-appletviewer-option-encoding ""
> jde-bug-breakpoint-cursor-colors '("cyan" . "brown")
> jde-compile-option-target '("1.2")
> jde-run-executable ""
> jde-run-option-heap-size '((1 . "megabytes") (16 . "megabytes"))
> jde-gen-cflow-switch '("(if (jde-parse-comment-or-quoted-p)" "'(l
\"switch\")"
>
> "'(l > \"switch (\" (p \"switch-condition: \" clause) \") \""
>"\"{\" > n"
> "\"case \" (p \"first value: \") \":\" > n> p n" "\"break;\" >
n> p
>n"
> "\"default:\" > n> p n" "\"break;\" > n"
> "\"} // end of switch (\" (s clause) \")\" > n>)" ")")
> jde-db-option-vm-args nil
> jde-run-application-class "DebugTest"
> jde-run-option-verbose '(nil nil nil)
> jde-project-file-name "prj.el"
> jde-compile-option-debug '("selected" (t t t))
> jde-bug-jre-home "/usr/java"
> jde-run-applet-viewer ""
> jde-entering-java-buffer-hooks '(jde-reload-project-file)
> jde-javadoc-return-tag-template '("* @return " (jde-javadoc-a type) " "
>(jde-javadoc-code type) " value")
> jde-run-read-vm-args nil
> jde-help-docsets nil
> jde-javadoc-since-tag-template '("* @since 1.0")
> 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-gen-cflow-case '("(if (jde-parse-comment-or-quoted-p)" "'(l \"case\")"
> "'(l n \"case \" (p \"value: \") \":\" > n> p n" "\"break;\" > n>
>p)" ")")
> jde-enable-classes-index-menu t
> jde-compile-option-depend nil
> jde-javadoc-describe-class-template '("* Describe class " (jde-javadoc-code
>name) " here.")
> 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 ""
> 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 /home/mwilcox/projects/debug_test/source/
>java -classpath
>/usr/local/lib/xemacs-21.1.7/lisp/site-lisp/jde/java/src:/usr/local/lib/xem
acs-21.1.7/lisp/site-lisp/jde/java/lib/jde.jar:/space/software/jpda/lib/jpda
.jar
>jde.debugger.Main
>
>
>(jde-dbo-init-debug-session)
>JDE> -1 1 launch 1 -vmexec java -home /usr/java -classic -classpath
>/home/mwilcox/java/classes DebugTest
>
>
>
>(jde-dbo-message 1 "VM options: '-classic '")
>
>
>(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, green threads, nojit)")
>
>
>(jde-dbo-message
>1 "Debugger created socket for app I/O on local host at port 32865.")
>
>
>(jde-dbo-command-result 1 32865)
>
>JDE> 1 2 break absolute DebugTest.java 13
>
>
>(jde-dbo-message
>1 "Debugger waiting for Emacs to connect to app SIO port 32865.")
>
>
>(jde-dbo-event-set
>1 "all"
>(list "Thread" 1 "main" "waiting on monitor" "suspended by debugger"
>(list)
>(list)
>nil)
>(list 'jde-dbo-vm-start-event))
>
>
>(jde-dbo-command-result 2 0)
>
>JDE> 1 3 run
>
>
>(jde-dbo-command-result 3)
>
>
>(jde-dbo-message 1 "Application I/O closed")
>
>
>(jde-dbo-error 1 "Input error; application I/O closed")
>
>
>(jde-dbo-message 1 "Application I/O closed")
>
>
>(jde-dbo-event-set 1 "none" nil
>(list 'jde-dbo-vm-death-event))
>
>
>(jde-dbo-event-set 1 "none" nil
>(list 'jde-dbo-vm-disconnected-event))
>
>
>
>
>End Insert *JDEbug* buffer
>
>
>There was no *Backtrace* buffer
>
>
>The contents of the *Messages* buffer were
>
>Loading cl-extra...done
>Loading cl-macs...
>Loading cl-macs...done
>Bootstrapping objects...
>Bootstrapping objects...done
>Loading time...
>Loading time...done
>Loading timer...
>Loading timer...done
>Loading edmacro...
>Loading edmacro...done
>Loading /home/mwilcox/.sql-mode...
>Loading /home/mwilcox/.sql-mode...done
>Reading interfaces file /opt/sybase/interfaces...
>Note: file is write protected
>Loading cl-seq...
>Loading cl-seq...done
>Reading interfaces file /opt/sybase/interfaces... done
>For information about the GNU Project and its goals, type C-h C-p.
>Fontifying *scratch*...
>Fontifying *scratch*... (regexps....)
>For information about the GNU Project and its goals, type C-h C-p.
>Fontifying .emacs...
>Fontifying .emacs... (regexps....)
>Mark set
>Undo!
>Mark set
>Wrote /home/mwilcox/.emacs
>Mark set
>(No changes need to be saved)
>Making completion list...
>Loading view...
>Loading view...done
>Making completion list... [3 times]
>Loading /home/mwilcox/projects/debug_test/source/prj.el (source)...
>Loading /home/mwilcox/projects/debug_test/source/prj.el (source)...done
>Fontifying DebugTest.java...
>Fontifying DebugTest.java... (regexps.............)
>Loading /home/mwilcox/projects/debug_test/source/prj.el (source)...done
>DebugTest.java... done
>Mark set [3 times]
>Saved text from "cd /home/mwilcox/projects/debug_test/sou"
>Mark set
>Beginning of buffer
>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:
>
>_=/usr/local/bin/panel
>WINDOWID=8388621
>TZ=US/Pacific
>TOMCAT_HOME=/home/mwilcox/tools/jakarta-tomcat
>TERM=xterm
>TC_DTC=/home/mwilcox/tools/jakarta-tomcat/webapps/dt/WEB-INF/classes/com/ga
r/cda/topline
>
>TC_DT=/home/mwilcox/tools/jakarta-tomcat/webapps/dt/WEB-INF/classes
>SYBASE=/opt/sybase
>STAR_SPOOL_DIR=/tmp
>SL=/space/software
>SHELL=/bin/ksh
>PWD=/home/mwilcox
>PATH=/home/mwilcox/tools/emacs/emacs-20.6.1/install/bin:/space/software/jak
arta-ant/bin:/usr/bin:/usr/local/bin:/usr/sbin:/opt/sybase/bin:/usr/openwin/
bin:/usr/local/enlightenment/bin:/usr/java/bin:/space/software/apache/instal
l/bin:/home/mwilcox/tools/jakarta-tomcat/bin:/home/mwilcox/bin
>
>MANPATH=/usr/local/man:/usr/dt/man:/usr/man:/usr/openwin/share/man
>MAILHOST=mail.teleport.com
>MAIL=/var/mail/mwilcox
>LOGNAME=mwilcox
>LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/openwin/lib:/usr/dt/lib:/usr/u
cblib:/usr/ccs/lib:/usr/openwin/lib/libp:/usr/local/lib/gtk/themes/engines:/
usr/local/sparc-sun-solaris2.7/lib:/usr/local/lib/gnumeric/plugins:/space/so
ftware/jpda/lib/sparc
>
>LC_CTYPE=en_US
>LANG=C
>JAVA_HOME=/usr/java
>HZ=100
>HOME=/home/mwilcox
>ENV=/home/mwilcox/.kshrc
>EDITOR=vi
>D_JT=/devel/java/com/gar/cda/topline
>D_JST=/devel/javascript/com/gar/cda/topline
>D_JC=/devel/classes/com/gar/cda/topline
>DL=/space/software/downloads
>DISPLAY=:0.0
>DEV=/devel
>CLASSPATH=/space/software/downloads/utils/java/jConnect/jConnect-5_2/classe
s/jconn2.jar:/space/software/jsdk/servlet.jar
>
>ANT_HOME=/space/software/jakarta-ant
>
>
>The contents of the .emacs file was
>
>
>;; Emacs Initialization File
>;; Mike Wilcox
>
>(setq load-path
> (nconc
> '(
> "/home/mwilcox/.site-lisp/jde/lisp"
> "/home/mwilcox/.site-lisp/semantic"
> "/home/mwilcox/.site-lisp/speedbar"
> "/home/mwilcox/.site-lisp/cc-mode"
> "/home/mwilcox/.site-lisp/sql-mode"
> "/home/mwilcox/.site-lisp/misc"
> ) load-path))
>
>(require 'jde)
>
>;; Hide password prompts
>(add-hook 'comint-output-filter-functions
> 'comint-watch-for-password-prompt)
>
>;; Display the time
>(setq display-time-day-and-date t
> display-time-24hr-format t)
>(display-time)
>
>;; Show the column number
>(column-number-mode t)
>
>;; Set the default tab width
>(setq default-tab-width 2)
>
>;; Don't make me type out 'yes' and 'no'
>(fset 'yes-or-no-p 'y-or-n-p)
>
>;; Color the code
>(require 'font-lock)
>(global-font-lock-mode t)
>(setq font-lock-maximum-decoration
> '((java-mode . 3)
> (jde-mode . 3)
> (perl-mode . 3)
> (lisp-mode . 3)))
>
>;; Set the starting appearance
>(setq default-frame-alist
> '((top . 30) (left . 30)
> (width . 110) (height . 60)
> (cursor-color . "Firebrick")
> (cursor-type . box)
> (foreground-color . "Black")
> (background-color . "Thistle")
> (vertical-scroll-bars . right)))
>
>;; Set the foreground and background colors of the mode line
>(cond (window-system
> (set-face-background 'modeline "DarkSlateGray")
> (set-face-foreground 'modeline "Thistle")
> )
>)
>
>;; Set the appearance
>(custom-set-faces
> '(font-lock-comment-face ((((class color)) (:foreground "Maroon"))))
> '(font-lock-reference-face ((((class color)) (:foreground "Blue"))))
> '(font-lock-string-face ((((class color)) (:foreground "SeaGreen"))))
> '(font-lock-keyword-face ((((class color)) (:foreground "SlateBlue"))))
> '(font-lock-warning-face ((((class color)) (:foreground "Red"))))
> '(font-lock-constant-face ((((class color)) (:foreground "IndianRed"))))
> '(font-lock-type-face ((((class color)) (:foreground "DarkSlateGray"))))
> '(font-lock-variable-name-face ((((class color)) (:foreground
"Goldenrod"))))
> '(font-lock-function-name-face ((((class color)) (:foreground "Orchid"))))
> '(font-lock-builtin-face ((((class color)) (:foreground "Sienna")))))
>
>;; Set key bindings
>(global-set-key [f2] 'save-buffer)
>(global-set-key [f3] 'kill-this-buffer)
>(global-set-key [C-f2] 'rename-buffer)
>(global-set-key [C-f3] 'switch-to-buffer)
>(global-set-key [f4] 'find-file)
>(global-set-key [f5] 'other-window)
>(global-set-key [f6] 'delete-other-windows)
>(global-set-key [f7] 'query-replace)
>(global-set-key [S-f7] 'regexp-query-replace)
>(global-set-key [f8] 'kill-rectangle)
>(global-set-key [S-f8] 'yank-rectangle)
>(global-set-key [f10] 'expand-abbrev)
>(global-set-key [S-f10] 'write-abbrev-file)
>(global-set-key [C-f10] 'read-abbrev-file)
>(global-set-key [home] 'beginning-of-line)
>(global-set-key [end] 'end-of-line)
>(global-set-key [C-home] 'beginning-of-buffer)
>(global-set-key [C-end] 'end-of-buffer)
>(global-set-key [C-pageup] 'beginning-of-defun)
>(global-set-key [C-pagedown] 'end-of-defun)
>(global-set-key [f9 ?c] 'compile)
>(global-set-key [S-f9] 'jde-compile)
>(global-set-key "\C-z" 'shell)
>(global-set-key "\C-1" 'indent-region)
>
>;; c and jde mode variables
>(custom-set-variables
> '(c-cleanup-list (quote (brace-else-brace brace-elseif-brace
brace-catch-brace
>empty-defun-braces list-close-comma scope-operator)))
> '(jde-bug-jre-home "/usr/java")
> '(c-hanging-braces-alist (quote ((inexpr-class-open after) (block-close
before
>after) (block-open after) (brace-list-close before after)
(statement-case-open
>after) (substatement-open after) (brace-list-open after) (inline-close before
>after) (inline-open after) (class-open after) (class-close before after)
>(defun-close before after) (defun-open after) (brace-list-open after)
>(brace-entry-open after) (substatement-open after) (block-close .
>c-snug-do-while) (extern-lang-open after) (inexpr-class-open after)
>(inexpr-class-close before after))))
> '(c-basic-offset 2)
> '(c-indent-comments-syntactically-p t)
> '(jde-bug-jpda-directory "/space/software/jpda"))
>
>(defun mw-jde-mode-common-hook ()
> (setq tab-width 2
> indent-tabs-mode nil)
> (c-toggle-auto-hungry-state 1)
> )
>(add-hook 'jde-mode-hook 'mw-jde-mode-common-hook)
>
>
>
>=====end inserted .emacs file
>
>
>