Sure... but I'll need to google 'edebug' first!
:)
ITMW, I presume no one else sees this problem?
On 10 March 2010 09:14, Paul Landes <[email protected]> wrote:
> Are you switching to a project that uses this project file before invoking
> the debugger?
>
> Use edebug on `jde-db-get-vm-args' (line 1529 in file jde-db.el) and and
> invoke it again. Let us know what the value is of `jde-sourcepath' during
> the call.
>
>
> On Mar 9, 2010, at 8:40 AM, Livin Stephen Sharma wrote:
>
> Source Path:
> d: directory
> f: file
> blank: path doesn't exist
> --------------------------
> [d] /Users/livin/playarea/java/src
> [d] /Users/livin
>
>
>
> Global Classpath:
> d: directory
> f: file
> blank: path doesn't exist
> --------------------------
> [d] /Users/livin/playarea/java/class
>
>
>
> This is with a prj.el that has 'real' values; instead of 'foo'...
> Here it is:
>
> (jde-project-file-version "1.0")
> (jde-set-variables
> '(jde-project-name "default")
> '(jde-jdk-registry (quote (("1.6.0" .
> "/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0") ("1.5.0" .
> "/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0") ("1.4.2" .
> "/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2"))))
> '(jde-global-classpath (quote ("/Users/livin/playarea/java/class")))
> '(jde-run-working-directory "/Users/livin/playarea/java")
> ;; '(jde-jdk (quote ("1.4.2")))
> ;; '(jde-jdk (quote ("1.5.0")))
> '(jde-jdk (quote ("1.6.0")))
> '(jde-key-bindings (quote (("[? ? ? ]" . jde-run-menu-run-applet) ("[? ? ?
> ]" . jde-build) ("[? ? ? ]" . jde-compile) ("[? ? ? ]" . jde-debug) ("[? ? ?
> ]" . jde-find) ("[? ? ? ]" . jde-open-class-at-point) ("[? ? ? ]" .
> jde-bsh-run) ("[? ? ? ]" . jde-gen-println) ("[? ? ? ]" .
> jde-help-browse-jdk-doc) ("[? ? ? ]" . jde-wiz-update-class-list) ("[? ? ?
> ]" . jde-run) ("[? ? ? ]" . speedbar-frame-mode) ("[? ? ? ]" .
> jde-jdb-menu-debug-applet) ("[? ? ? ]" . jde-help-symbol) ("[? ? ? ]" .
> jde-show-superclass-source) ("[? ? ? ]" . jde-open-class-at-point) ("[? ? ?
> ]" . jde-import-find-and-import) ("[? ? ?e]" .
> jde-wiz-extend-abstract-class) ("[? ? ?f]" . jde-gen-try-finally-wrapper)
> ("[? ? ?i]" . jde-wiz-implement-interface) ("[? ? ?j]" .
> jde-javadoc-autodoc-at-line) ("[? ? ?o]" . jde-wiz-override-method) ("[? ?
> ?t]" . jde-gen-try-catch-wrapper) ("[? ? ?z]" . jde-import-all) ("[? ? ? ]"
> . jde-run-etrace-prev) ("[? ? ? ]" . jde-run-etrace-next) ("[? ? ?p]" .
> jde-load-project-file) ("[(control c) (control c) (control ?.)]" .
> jde-complete) ("[(control c) (control c) ?.]" . jde-complete-in-line)
> ("[(control c) (control c) ?m]" . jde-gen-main-method) ("[(control c)
> (control c) ?n]" . jde-gen-class-buffer) ("[?
> ]" . newline-and-indent) ("[(control c) (control c) ?b]" .
> jde-ant-build))))
> '(jde-jdk-doc-url "
> file:///System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/docs/api/index.html
> ")
> ;; '(jde-compiler (quote ("javac" "")))
> ;; '(jde-compile-option-verbose t)
> '(jde-run-executable-args nil)
> '(jde-sourcepath (quote ("/Users/livin/playarea/java/src"
> "/Users/livin")))
> ; '(jde-db-option-vm-args (cons "-sourcepath" jde-sourcepath))
> '(jde-db-option-vm-args nil)
> '(jde-run-option-vm-args (quote ("-showversion")))
> '(jde-compile-option-directory "/Users/livin/playarea/java/class")
> ;; '(jde-run-application-class "HelloWorld")
> '(jde-compile-enable-kill-buffer t)
> '(jde-compile-option-debug (quote ("selected" (nil nil nil))))
> '(jde-compile-option-debug (quote ("selected" (t t t))))
> '(jde-ant-buildfile (concat jde-run-working-directory "/" "build.xml"))
> '(jde-ant-read-buildfile t)
> '(jde-ant-read-args t)
> '(jde-ant-read-target t)
> '(jde-built-class-path (quote
> ("/Users/livin/workarea/cpm-ext-api/class_files"))))
>
>
>
>
>
>
>
>
>
>
>
> Livin Stephen Sharma
>
>
>
> On Mar 09, 2010, at 19:58:21 , Paul Landes wrote:
>
> What is the output of `jde-describe-path'?
>
>
> On Mar 8, 2010, at 8:11 AM, Livin Stephen Sharma wrote:
>
> JDEE 2.4.0.1
> Emacs 23.1.50.1
>
> JDEE seems to not be reading/using the 'jde-sourcepath' variable for JDB
> ['jde-jdb']
>
>
>
> Here is a sample of the content/output from the debug buffer:
>
> cd /Users/livin/foo
> /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/jdb
> -launch -classpath /Users/livin/foo/class my.jde.JDB
>
> Set uncaught java.lang.Throwable
> Set deferred uncaught java.lang.Throwable
> Initializing jdb ...
> >
> VM Started: No frames on the current call stack
>
> main[1]
>
>
> This is despite the variable being defined in prj.el:
>
> '(jde-sourcepath (quote ("/Users/livin/foo/src" "/Users/livin/baz/src")))
>
>
>
> Livin Stephen Sharma
>
>
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
>
> http://p.sf.net/sfu/intel-sw-dev_______________________________________________
> jdee-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jdee-users
>
>
>
>
>
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
jdee-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jdee-users