This is very helpful, Paul. Thanks again. I appreciate it.

I renamed jdb.exe in my jdpa directory, and now C-c C-v C-d kicks of jdb as it
always has.

I am intrigued by JDEbug, and - as it is the future of the JDE - I would like to
like to try it out. I hadn't known that the two could run concurrently - instead
assuming that C-c C-v C-d would kick of JDEbug, and that jdb had gone by the
wayside. I see now that the way to get at this is via M-x jde-bug- commands.

I have tried jde-bug-debug-application, but I am getting the following error:

[BEGIN]

java.io.FileNotFoundException: C:\backtest\output\(TEST.OUT.CSV).S.CSV (The
system cannot find the file specified)

[END]

The file is there, minus the paren's.

I assume JDEbug is picking "(TEST.OUT.CSV)" up from my .emacs (attached to prev.
post), which includes:

[BEGIN]

(custom-set-variables
 '(jde-db-source-directories (quote ("c:/backtest/readSHELL/")))
 '(jde-run-option-application-args (quote ("TEST.OUT.CSV")))
 '(jde-jdk-doc-url "http://www.javasoft.com/products/jdk/1.2/docs/index.html")
 '(jde-bug-jpda-directory "c:/apps/dev/jpda")
 '(jde-db-option-application-args (quote ("TEST.OUT.CSV"))))
(custom-set-faces)
[END]

jdb is (now, still) running just fine, w/ the settings above.

Am I doing something wrong?... Again....

Tks again,
Matthew

-----Original Message-----
From: Paul Kinnucan <[EMAIL PROTECTED]> 
Sent: Wednesday, September 15, 1999 3:00 PM
To: Matthew Weymar
Cc: <[EMAIL PROTECTED]>
Subject: RE: JDB trouble 


At 02:34 PM 9/15/99 -0400, Matthew Weymar wrote:
>Thanks for your note, Paul.
>
>Here is my setup:
>WinNT 4.0 SP 4
>JDE 2.1.6beta8
>  eieio 0.12
>NTEmacs 20.4
>cc-mode 5.25
>(JDK 1.2.2; JPDA (!))
>
>I apologize for not including this info in my initial post.
>
>I believe the problem I am having corresponds to 1) below. I was under the
>impression that I *should* download the JPDA and put its bin directory in my
>path. That is not the case, I take it?... Should I just remove it?...
>

Depends on what you want. The situation is as follows. Beginning with JDE
2.16beta7, the JDE supports two debuggers: the version of jdb shipped with the
JDK 1.0, 1.1 and 1.2 and JDEbug. To run JDEbug, you need either JDK 1.2 plus the
JPDA
distribution or JDK 1.3, which includes the JPDA distribution. Note that the JDE
does NOT support the version of jdb that comes with the JPDA distribution. Thus,
if you want to be able to run either jdb or JDEbug, you need to install JDK 1.2
and JPDA, include the JPDA bin directory in your system's command path, and then
either rename or delete the (incompatible) version of jdb in the JPDA's bin
directory. (You will then be assured of getting the compatible jdb version in
the JDK 1.2 bin directory. If you want to use JDK 1.3, you should forget jdb and
use JDEbug for debugging. Eventually, I hope, jdb will go away and
JDE users will only need and want to use JDEbug.

- Paul

Reply via email to