Hello Paul-
This may be a setup problem, but I cant figure it out. JDEbug can find
the source for the file where the main method is, so I can see all the
variables. But when I try to step into source code corresponding to
another file I get the error below:
------------------
Resolved breakpoint set in ModelGenerator.java at line 89.
Breakpoint hit at line 89 in com.eride.model.ModelGenerator
(ModelGenerator.java) on thread main. All threads suspended.
Error: cannot get local variables.
Reason: Local variable information not available: compile with -g.
Stepped to line 243 in java.lang.ClassLoader (ClassLoader.java) on
thread main. All threads suspended.
------------------
This is in spite of compiling all the files (including the one where
main is) with -g
Why would it have variable information only for the main source file
from which I start the debugger ?
Thanks for your help-
George Soler
Emacs : XEmacs 21.1 (patch 10) "Capitol Reef" [Lucid] (i686-pc-linux)
of Wed Jun 14 2000 on mars
Package: JDE version 2.1.7
current state:
==============
(setq
jde-gen-to-string-method-template '("'&" "\"public String toString()
{\" 'n>"
"\"return super.toString();\" 'n>"
"\"}\" 'n>")
jde-bug-jre-home "/usr/local/java/jdk1.2.2"
jde-bug-debugger-host-address "mars"
jde-help-docsets nil
jde-run-option-heap-profile '(nil "./java.hprof" 5 20 "Allocation
objects")
jde-compile-option-encoding nil
jde-compile-option-optimize nil
jde-run-executable-args nil
jde-compile-option-verbose nil
jde-gen-buffer-templates '(("Class" . jde-gen-class)
("Console" . jde-gen-console)
("Swing App" . jde-gen-jfc-app))
jde-run-option-classpath '("/home/soler/server/projects/classes"
"/usr/local/java/Progress_SonicMQ/lib/client.jar"
"/usr/local/java/ibusjms_3_0_1/lib/iBusJMS.jar"
"/usr/local/java/ibusjms_3_0_1/lib/jndi.jar"
"/home/soler/server/projects/xml")
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-make-args ""
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-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-breakpoint-marker-colors '("red" . "yellow")
jde-db-source-directories '("/usr/local/java/jdk1.2.2/src.jar/"
"/home/soler/server/projects/src/")
jde-db-debugger '("JDEbug" "jdb" . "Executable")
jde-db-marker-regexp "^Breakpoint hit: .*(\\([^$]*\\).*:\\([0-9]*\\))"
jde-compile-option-deprecation nil
jde-javadoc-see-tag-template '("* @see " ref)
jde-javadoc-since-tag-template '("* @since 1.0")
jde-javadoc-version-tag-template '("* @version 1.0")
jde-javadoc-describe-method-template '("* Describe " (jde-javadoc-code
name)
" method here.")
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-applet-viewer ""
jde-run-read-vm-args nil
jde-run-java-vm-w "javaw"
jde-run-option-application-args
'("-Dcom.eride.jms.SonicMQJMSContext.brokerHostPort=mercury")
jde-quote-classpath t
jde-enable-abbrev-mode nil
jde-gen-action-listener-template '("'& (P \"Component name: \")"
"\".addActionListener(new ActionListener() {\" 'n>" "\"public
void actionPerformed(ActionEvent e) {\" 'n>" "\"}});\" 'n>")
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-gen-boilerplate-function 'jde-gen-create-buffer-boilerplate
jde-compile-option-classpath '("/home/soler/server/projects/classes"
"/usr/local/java/Progress_SonicMQ/lib/client.jar"
"/usr/local/java/ibusjms_3_0_1/lib/iBusJMS.jar"
"/usr/local/java/ibusjms_3_0_1/lib/jndi.jar"
"/home/soler/server/projects/xml")
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-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-command-line-args "-g"
jde-compile-option-verbose-path t
jde-db-startup-commands nil
jde-build-use-make nil
jde-appletviewer-option-vm-args nil
jde-run-executable ""
jde-gen-buffer-boilerplate nil
jde-compile-option-depend-switch '("-Xdepend")
jde-compile-option-sourcepath '("/home/soler/server/projects/src")
jde-run-mode-hook nil
jde-gen-println '("'&"
"\"System.out.println(\" (P \"Print out: \") \");\" 'n>")
jde-javadoc-exception-tag-template '("* @exception " type
" if an error occurs")
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-db-option-application-args nil
jde-run-option-verify '(nil t)
jde-bug-server-shmem-name '(t . "JDEbug")
jde-javadoc-describe-interface-template '("* Describe interface "
(jde-javadoc-code name) " here.")
jde-db-option-classpath '("/home/soler/server/projects/classes"
"/usr/local/java/Progress_SonicMQ/lib/client.jar"
"/usr/local/java/ibusjms_3_0_1/lib/iBusJMS.jar"
"/usr/local/java/ibusjms_3_0_1/lib/jndi.jar")
jde-bug-vm-executable '("java")
jde-gen-k&r t
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-enable-classes-index-menu t
jde-db-option-heap-profile '(nil "./java.hprof" 5 20 "Allocation
objects")
jde-run-option-stack-size '((1 . "megabytes") (16 . "megabytes"))
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-jdk-doc-url
"http://www.javasoft.com/products/jdk/1.1/docs/index.html"
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-run-option-vm-args nil
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-bug-window-message 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-bug-jpda-directory "/usr/local/java/jdk1.2.2"
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-read-make-args nil
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-run-classic-mode-vm nil
jde-db-option-verify '(nil t)
jde-bug-saved-breakpoints nil
jde-bug-debug nil
jde-project-file-name "prj.el"
jde-run-java-vm "java"
jde-compile-option-directory "/home/soler/server/projects/classes"
jde-run-applet-doc ""
jde-db-option-properties nil
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-wiz-insert-excluded-packages-regexp "bsh.*"
jde-read-compile-args nil
jde-db-read-app-args nil
jde-enable-full-method-signatures-index-menu t
jde-compile-option-vm-args nil
jde-compile-option-depend nil
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-compile-option-nowarn t
jde-bug-raise-frame-p t
jde-run-option-properties nil
jde-javadoc-param-tag-template '("* @param " name " " (jde-javadoc-a
type)
" " (jde-javadoc-code type) " value")
jde-db-option-garbage-collection '(t t)
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) ("[? ? ? ]" . 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-db-mode-hook nil
jde-project-context-switching-enabled-p t
jde-db-option-heap-size '((1 . "megabytes") (32 . "megabytes"))
jde-bug-key-bindings '(("[? ? ?]" . jde-bug-step-over)
("[? ? ?]" . jde-bug-step-into)
("[? ? ?]" . jde-bug-step-out)
("[? ? ?]" . jde-bug-continue)
("[? ? ?]" . jde-bug-set-breakpoint))
jde-run-option-verbose '(nil nil nil)
jde-bug-jdk-directory "/usr/local/java/jdk1.2.2"
jde-bug-breakpoint-cursor-colors '("cyan" . "brown")
jde-global-classpath '("/home/soler/server/projects/classes"
"/usr/local/java/Progress_SonicMQ/lib/client.jar"
"/usr/local/java/ibusjms_3_0_1/lib/iBusJMS.jar"
"/usr/local/java/ibusjms_3_0_1/lib/jndi.jar"
"/home/soler/server/projects/xml")
jde-bug-vm-includes-jpda-p nil
jde-javadoc-describe-class-template '("* Describe class "
(jde-javadoc-code name) " here.")
jde-run-application-class nil
jde-gen-cflow-else '("(if (jde-parse-comment-or-quoted-p)" "'(l
\"else\")"
"'(l > \"else \"" "\"{\" > n> r n"
"\"} // end of else\" > n>)" ")")
jde-compile-option-target '("1.1")
jde-make-program "make"
jde-db-option-vm-args 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-option-java-profile '(nil . "./java.prof")
jde-entering-java-buffer-hooks '(jde-reload-project-file)
jde-db-option-java-profile '(nil . "./java.prof")
jde-bug-server-socket '(t . "2112")
jde-javadoc-author-tag-template '("* @author \"" user-full-name "\" <"
user-mail-address ">")
jde-bug-debugger-command-timeout 10
jde-run-read-app-args nil
jde-run-option-heap-size '((1 . "megabytes") (32 . "megabytes"))
jde-db-option-verbose '(nil nil nil)
jde-compile-option-debug '("all" (t t t))
jde-javadoc-return-tag-template '("* @return " (jde-javadoc-a type) " "
(jde-javadoc-code type) " value")
jde-run-working-directory ""
jde-compile-option-bootclasspath nil
jde-db-read-vm-args nil
jde-compile-option-extdirs nil
jde-compiler "javac"
jde-appletviewer-option-encoding ""
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-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-describe-constructor-template '("* Creates a new "
(jde-javadoc-code name)
" instance.")
jde-db-option-stack-size '((1 . "megabytes") (16 . "megabytes"))
jde-run-option-garbage-collection '(t t)
jde-db-set-initial-breakpoint t
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-use-font-lock t
)
The contents of the *JDEBug* buffer were
cd /home/soler/server/projects/src/com/eride/model/
java -classpath
/usr/local/java/jde-2.1.7/java/src:/usr/local/java/jde-2.1.7/java/lib/jde.jar:/usr/local/java/jdk1.2.2/lib/jpda.jar
jde.debugger.Main
(jde-dbo-init-debug-session)
JDE> -1 1 launch 1 -vmexec java -home /usr/local/java/jdk1.2.2
-classpath
/home/soler/server/projects/classes:/usr/local/java/Progress_SonicMQ/lib/client.jar:/usr/local/java/ibusjms_3_0_1/lib/iBusJMS.jar:/usr/local/java/ibusjms_3_0_1/lib/jndi.jar
-Xmx32m -Xss1m -Xoss16m com.eride.model.ModelGenerator
(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 1.2.2-L, green threads, nojit)")
(jde-dbo-command-result 1 1848)
JDE> 1 2 break absolute ModelGenerator.java 89
(jde-dbo-message
1 "Debugger waiting for Emacs to connect to app SIO port 1848.")
(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-spec-resolved 1 0)
(jde-dbo-event-set
1 "all"
(list "Thread" 1 "main" "runnable" "suspended at breakpoint"
(list
(list 0 "com.eride.model.ModelGenerator" "ModelGenerator.java" 89
"<init>")
(list 1 "com.eride.model.ModelGenerator" "ModelGenerator.java" 109
"<init>")
(list 2 "com.eride.model.ModelGenerator" "ModelGenerator.java" 53
"main"))
(list)
nil)
(list 'jde-dbo-breakpoint-hit-event 0
(list "com.eride.model.ModelGenerator" "ModelGenerator.java" 89) nil
nil))
JDE> 1 4 get_locals 1 0
(jde-dbo-command-result
4 (list
(cons (list "svID" "int") (list "int" "1"))
(cons (list "topicMgr" "com.eride.jms.TopicManager") (list
"com.eride.jms.TopicManager" 435 nil))
(cons (list "modelPublisher" "com.eride.model.IModelPublisher") (list
"com.eride.model.ModelPublisher" 434 nil))
(cons (list "timer" "com.eride.util.Timer") (list "null"))))
JDE> 1 5 get_this 1 0
(jde-dbo-command-result
5 (list "com.eride.model.ModelGenerator" 436 nil
(list
(cons (list "spvModelFactories" "java.util.Vector") (list
"java.util.Vector" 440 nil))
(cons (list "MAX_SV_COUNT" "int" "final" "static") (list "int" "32"))
(cons (list "SPV_INTERVAL" "int" "final" "static") (list "int" "1000"))
(cons (list "ASPV_INTERVAL" "int" "final" "static") (list "int" "4000"))
(cons (list "TIMER_RESOLUTION" "int" "final" "static") (list "int"
"1000"))
(cons (list "timer" "com.eride.util.Timer") (list "com.eride.util.Timer"
437 nil))
(cons (list "serverContext" "com.eride.server.ErideServerContext") (list
"com.eride.server.ErideServerContext" 438 nil))
(cons (list "aspvModelFactories" "java.util.Vector") (list
"java.util.Vector" 439 nil))
(cons (list "debug" "boolean" "final" "static") (list "boolean"
"true")))))
JDE> 1 6 get_thread 1
(jde-dbo-command-result
6 (list "Thread" 1 "main" "runnable" "suspended at breakpoint"
(list
(list 0 "com.eride.model.ModelGenerator" "ModelGenerator.java" 89
"<init>")
(list 1 "com.eride.model.ModelGenerator" "ModelGenerator.java" 109
"<init>")
(list 2 "com.eride.model.ModelGenerator" "ModelGenerator.java" 53
"main"))
(list)
nil))
JDE> 1 7 step into 1
(jde-dbo-command-result 7)
(jde-dbo-report-ids-in-use 1)
(jde-dbo-event-set
1 "all"
(list "Thread" 1 "main" "runnable" "suspended by debugger"
(list
(list 0 "java.lang.ClassLoader" "ClassLoader.java" 243 "loadClass")
(list 1 "com.eride.model.ModelGenerator" "ModelGenerator.java" 89
"<init>")
(list 2 "com.eride.model.ModelGenerator" "ModelGenerator.java" 109
"<init>")
(list 3 "com.eride.model.ModelGenerator" "ModelGenerator.java" 53
"main"))
(list
(list "java.lang.Class" 446 nil)
(list "sun.misc.Launcher$AppClassLoader" 447 nil))
nil)
(list 'jde-dbo-step-event (list "java.lang.ClassLoader"
"ClassLoader.java" 243)))
JDE> 1 8 get_locals 1 0
(jde-dbo-command-error
8 "Local variable information not available: compile with -g")
JDE> 1 9 get_this 1 0
(jde-dbo-command-result
9 (list "sun.misc.Launcher$AppClassLoader" 447 nil
(list
(cons (list "nocerts" "java.security.cert.Certificate[]") (list
"java.security.cert.Certificate[]" 459 nil))
(cons (list "sclSet" "boolean" "static") (list "boolean" "true"))
(cons (list "pdcache" "java.util.Hashtable") (list "java.util.Hashtable"
456 nil))
(cons (list "systemNativeLibraries" "java.util.Vector" "static") (list
"java.util.Vector" 450 nil))
(cons (list "class$java$lang$ClassLoader" "java.lang.Class" "static")
(list "null"))
(cons (list "initialized" "boolean") (list "boolean" "true"))
(cons (list "packages" "java.util.HashMap") (list "java.util.HashMap"
461 nil))
(cons (list "defaultDomain" "java.security.ProtectionDomain") (list
"null"))
(cons (list "nativeLibraryContext" "java.util.Stack" "static") (list
"java.util.Stack" 451 nil))
(cons (list "acc" "java.security.AccessControlContext") (list
"java.security.AccessControlContext" 455 nil))
(cons (list "package2certs" "java.util.Hashtable") (list
"java.util.Hashtable" 458 nil))
(cons (list "scl" "java.lang.ClassLoader" "static") (list
"sun.misc.Launcher$AppClassLoader" 447 nil))
(cons (list "loadedLibraryNames" "java.util.Vector" "static") (list
"java.util.Vector" 449 nil))
(cons (list "sys_paths" "java.lang.String[]" "static") (list
"java.lang.String[]" 453 nil))
(cons (list "classes" "java.util.Vector") (list "java.util.Vector" 460
nil))
(cons (list "getClassLoaderPerm" "java.lang.RuntimePermission" "static")
(list "null"))
(cons (list "debug" "sun.security.util.Debug" "final" "static") (list
"null"))
(cons (list "nativeLibraries" "java.util.Vector") (list
"java.util.Vector" 462 nil))
(cons (list "ucp" "sun.misc.URLClassPath") (list "sun.misc.URLClassPath"
454 nil))
(cons (list "parent" "java.lang.ClassLoader") (list
"sun.misc.Launcher$ExtClassLoader" 457 nil))
(cons (list "bootstrapClassPath" "sun.misc.URLClassPath" "static") (list
"sun.misc.URLClassPath" 448 nil))
(cons (list "defaultPermissions" "java.security.PermissionCollection"
"static") (list "null"))
(cons (list "usr_paths" "java.lang.String[]" "static") (list
"java.lang.String[]" 452 nil)))))
JDE> 1 10 get_thread 1
(jde-dbo-command-result
10 (list "Thread" 1 "main" "runnable" "suspended by debugger"
(list
(list 0 "java.lang.ClassLoader" "ClassLoader.java" 243 "loadClass")
(list 1 "com.eride.model.ModelGenerator" "ModelGenerator.java" 89
"<init>")
(list 2 "com.eride.model.ModelGenerator" "ModelGenerator.java" 109
"<init>")
(list 3 "com.eride.model.ModelGenerator" "ModelGenerator.java" 53
"main"))
(list
(list "java.lang.Class" 446 nil)
(list "sun.misc.Launcher$AppClassLoader" 447 nil))
nil))
End Insert *JDEbug* buffer
There was no *Backtrace* buffer
There was no *Messages* buffer
Process environment:
_=/usr/local/bin/xemacs
CVSROOT=:pserver:george@mercury:c:/cvsroot
EDITOR=/usr/local/bin/xemacs
LS_COLORS=no=00:fi=00:di=01;36:ln=01;34:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:
SHLVL=3
MOZILLA_HOME=/usr/local/netscape
WINDOWID=46137358
OSTYPE=Linux
LANG=en_US
DISPLAY=:0.0
SOURCEPATH=/home/soler/server/projects/src/
HOSTDISPLAY=mars:0.0
BASH_ENV=/home/soler/.bashrc
USER=soler
PS1=$
SHELL=/bin/bash
INPUTRC=/etc/inputrc
HOME=/home/soler
PATH=/bin:/sbin/:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/home/soler/util:/usr/local/java/jdk1.2.2/bin
HOSTTYPE=i386
TERM=xterm
CLASSPATH=/home/soler/server/projects/classes/:/usr/local/java/Progress_SonicMQ/lib/client.jar:/usr/local/java/ibusjms_3_0_1/lib/iBusJMS.jar:/usr/local/java/ibusjms_3_0_1/lib/jndi.jar:/home/soler/server/projects/xml
FVWM_MODULEDIR=/usr/X11R6/lib/X11/fvwm2
LD_LIBRARY_PATH=/usr/local/java/jdk1.2.2/jre/lib/i386:/usr/local/java/jdk1.2.2/lib/i386
MAIL=/var/spool/mail/soler
LOGNAME=soler
HOSTNAME=mars
HISTSIZE=1000
USERNAME=
LESSOPEN=|/usr/bin/lesspipe.sh %s
The contents of the .emacs file was
(setq load-path
(nconc '(
;;add paths to all downloaded add-on packages here:
"/usr/local/lib/xemacs/xemacs-packages/lisp"
"/usr/local/java/jde-2.1.7/lisp"
"/usr/local/lib/xemacs/xemacs-packages/semantic-1.1"
"/usr/local/lib/xemacs/xemacs-packages/speedbar-0.11"
"/usr/local/lib/xemacs-21.1.10/lisp"
) load-path))
(require 'jde)
;;
;;
(custom-set-faces
'(default ((t (:size "12pt" :family "Fixed"))) t)
'(pointer ((t (:foreground "yellow" :background "red"))) t)
'(secondary-selection ((t (:foreground "black" :background
"paleturquoise"))) t)
'(paren-face ((((class color) (background dark)) (:background
"limeGreen"))))
'(font-lock-string-face ((((class color) (background dark))
(:foreground "cornFlowerBlue"))))
'(vertical-divider ((t nil)) t)
'(paren-mismatch ((t (:foreground "red" :background "yellow"))) t)
'(font-lock-reference-face ((((class color) (background dark))
(:foreground "orange"))))
'(gdb-arrow-face ((t (:background "purple4"))) t)
'(paren-no-match-face ((((class color) (background dark)) (:foreground
"red" :background "yellow"))))
'(paren-mismatch-face ((((class color) (background dark)) (:foreground
"red" :background "yellow"))))
'(font-lock-doc-string-face ((((class color) (background dark))
(:foreground "steelBlue"))))
'(modeline-buffer-id ((t (:foreground "black" :background "grey66")))
t)
'(font-lock-preprocessor-face ((((class color) (background dark))
(:foreground "magenta"))))
'(modeline-mousable ((t (:foreground "black" :background "grey66"))) t)
'(font-lock-variable-name-face ((((class color) (background dark))
(:foreground "White"))))
'(right-margin ((t (:foreground "lightSeaGreen" :background "white")))
t)
'(paren-match ((t (:foreground "navy" :background "orange"))) t)
'(modeline-mousable-minor-mode ((t (:foreground "black" :background
"grey66"))) t)
'(toolbar ((t (:foreground "black" :background "fireBrick" :bold nil)))
t)
'(font-lock-keyword-face ((((class color) (background dark))
(:foreground "Green"))))
'(font-lock-builtin-face ((((class color) (background dark))
(:foreground "Tan"))))
'(yellow ((t (:foreground "yellow"))) t)
'(font-lock-constant-face ((((class color) (background dark))
(:foreground "Plum"))))
'(font-lock-type-face ((((class color) (background dark)) (:foreground
"cyan"))))
'(primary-selection ((t (:foreground "black" :background "gray65"))) t)
'(blue ((t (:foreground "DodgerBlue1"))) t)
'(paren-blink-off ((t (:foreground "black" :background "red"))) t)
'(font-lock-comment-face ((((class color) (background dark))
(:foreground "Yellow2"))))
'(font-lock-function-name-face ((((class color) (background dark))
(:foreground "red"))))
'(isearch ((t (:background "purple3"))) t)
'(highlight ((t (:foreground "white" :background "blue"))) t)
'(modeline ((t (:foreground "black" :background "grey66"))) t)
'(zmacs-region ((t (:background "blue"))) t))
(defun point-to-top ()
"put cursor on top line of window"
(interactive)
(move-to-window-line 0))
(global-set-key "\C-xt" 'point-to-top)
(defun colorize-syntax ()
"colorize syntax for C/C++"
(interactive)
(global-font-lock-mode))
(global-set-key "\C-xc" 'colorize-syntax)
(custom-set-variables
'(jde-db-option-stack-size (quote ((1 . "megabytes") (16 .
"megabytes"))))
'(compilation-ask-about-save nil)
'(paren-mode (quote paren) nil (paren))
'(jde-compile-option-debug (quote ("all" (t t t))))
'(jde-db-option-verbose (quote (nil nil nil)))
'(jde-run-option-heap-size (quote ((1 . "megabytes") (32 .
"megabytes"))))
'(jde-global-classpath (quote ("/home/soler/server/projects/classes"
"/usr/local/java/Progress_SonicMQ/lib/client.jar"
"/usr/local/java/ibusjms_3_0_1/lib/iBusJMS.jar"
"/usr/local/java/ibusjms_3_0_1/lib/jndi.jar"
"/home/soler/server/projects/xml")))
'(jde-bug-jdk-directory "/usr/local/java/jdk1.2.2")
'(jde-run-option-verbose (quote (nil nil nil)))
'(jde-db-option-heap-size (quote ((1 . "megabytes") (32 .
"megabytes"))))
'(column-number-mode t)
'(jde-compile-option-nowarn t)
'(jde-compile-option-directory "/home/soler/server/projects/classes")
'(jde-bug-jpda-directory "/usr/local/java/jdk1.2.2")
'(jde-run-option-stack-size (quote ((1 . "megabytes") (16 .
"megabytes"))))
'(jde-db-option-classpath (quote ("/home/soler/server/projects/classes"
"/usr/local/java/Progress_SonicMQ/lib/client.jar"
"/usr/local/java/ibusjms_3_0_1/lib/iBusJMS.jar"
"/usr/local/java/ibusjms_3_0_1/lib/jndi.jar")))
'(tab-width 4)
'(toolbar-visible-p nil)
'(jde-compile-option-sourcepath (quote
("/home/soler/server/projects/src")))
'(jde-compile-option-verbose-path t)
'(jde-compile-option-command-line-args "-g")
'(jde-compile-option-classpath (quote
("/home/soler/server/projects/classes"
"/usr/local/java/Progress_SonicMQ/lib/client.jar"
"/usr/local/java/ibusjms_3_0_1/lib/iBusJMS.jar"
"/usr/local/java/ibusjms_3_0_1/lib/jndi.jar"
"/home/soler/server/projects/xml")))
'(line-number-mode t)
'(jde-run-option-application-args (quote
("-Dcom.eride.jms.SonicMQJMSContext.brokerHostPort=mercury")))
'(compilation-always-signal-completion t)
'(jde-db-debugger (quote ("JDEbug" "jdb" . "Executable")))
'(jde-db-source-directories (quote ("/usr/local/java/jdk1.2.2/src.jar"
"/home/soler/server/projects/src")))
'(jde-run-option-classpath (quote
("/home/soler/server/projects/classes"
"/usr/local/java/Progress_SonicMQ/lib/client.jar"
"/usr/local/java/ibusjms_3_0_1/lib/iBusJMS.jar"
"/usr/local/java/ibusjms_3_0_1/lib/jndi.jar"
"/home/soler/server/projects/xml")))
'(jde-run-application-class nil)
'(jde-compile-option-verbose nil)
'(jde-bug-jre-home "/usr/local/java/jdk1.2.2"))
=====end inserted .emacs file