* jde/lisp/jde-db.el (jde-debug): Set `jde-db-read-app-args' to `t' when
  given a prefix argument.  This unifies the behavior of `jde-run' and
  `jde-debug'.
---
 jde/lisp/jde-db.el |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/jde/lisp/jde-db.el b/jde/lisp/jde-db.el
index 6e7a41d..5d85498 100644
--- a/jde/lisp/jde-db.el
+++ b/jde/lisp/jde-db.el
@@ -1582,7 +1582,9 @@ buffer. If `jde-run-application-class' does not specify a 
class, the
 main class is assumed to be the class defined by the current source
 buffer. This command creates a command buffer for the debug session.
 
-With a negative prefix, prompts for the main class name."
+With a prefix argument, ask for command-line arguments to be
+passed to the application.  With a negative prefix, additionally
+prompt for the main class name."
   (interactive "p")
 
   ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -1592,6 +1594,8 @@ With a negative prefix, prompts for the main class name."
       (jde-bug-debug-app)
   ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
     (let* ((debugger (jde-db-get-the-debugger))
+          (jde-db-read-app-args (or prefix
+                                    jde-db-read-app-args))
           (main-class (if (and (integerp prefix) (< prefix 0))
                           (jde-read-class-name
                            jde-run-application-class)
-- 
1.6.1.3



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
jdee-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jdee-users

Reply via email to