At 03:57 PM 11/15/00 -0800, Zhou Ye wrote:
>
[snip]

>> >
>> >A)  Using JDebug in general.
>> >
>> >I can't find an interactive environment for me to issue(by typing) debug
>> >commands such as next, cont (like the way I use gdb for example).  Did I
>> >miss something?
>> >
>>
>> No. You did not miss anything. JDEbug was designed to be run from the Emacs
>> desktop, and consequently take advantage of amenities that Emacs offers
>> that a command window does not, such as menus, keybindings, and minibuffer
>> commands with completion.
>>
>
>That's a bit of disapointing to me. I am really fond of the command line
>interactive way to debug.  Menus have never been my favorite; if there's a
>choice I'd prefer alias over keybindings; and there's not too many
commands on
>debugging that requires completion(unlike all possible files under a
directory,
>which is unlimited in number and completion helps a great deal).
>
>Please don't get me wrong. JDE is an excellent product. I am merely
expressing
>my view and a wish list.
>

If someone else  wants to create a command-line interface for JDEbug (the
idea seems perverse to me), I would be glad to include it in the JDE. I
personally have no desire to create such a beast.


[snip

>> >c) Using jdb
>> >
>> >I then tried to use jdb.   I was able to set it up and debug an app
>> >launched by jdb.  Stepping thru the code also seemed to work fine.
>> >
>> >However, I can 't figure out how to make it to do attach.  I tried a few
>> >things but can't seem to make JDE to accept my "-attach" correctly.
>> >
>> >Is there a way to use jdb for attaching?
>> >
>>
>> The JDE does not really support attaching jdb to an existing process. It's
>> possible to do it by setting the right debug options. You have to turn off
>> some things and turn on others. I've forgotten the details of how to do it.
>>
>> - Paul
>
>jdb does offer the command window feature.  Any plan in future support of it?
>

The JDE already provides an interface to jdb, though not to the attach mode
of jdb. I personally do not plan to invest any more time in the JDE's jdb
interface other than to keep it current with the current JDK.


- Paul

Reply via email to