With these updated funcitons in jde-db.el JDEbug will stop bugging you about
source file it cannot find. Just remember to set
jde-db-query-source-file-silently to t to activate it.
Use it as you pleases.
(defcustom jde-db-query-source-file-silently nil
"*If non-nil the debugger will just silently ignore sourcebuffers for
which there is no source."
:group 'jde-project
:type 'boolean)
(defun jde-db-query-source-file (class)
(let ((source-file
(if jde-db-query-source-file-silently
(progn
(message "JDEbug silently ignoring to find source for %s"
class)
nil)
(read-file-name
(format "Cannot find %s source. Enter path: " class))))
)
(if (and
source-file
(file-exists-p source-file)
(not (file-directory-p source-file)))
(find-file-noselect source-file))))
With hope
Max Rydahl Andersen